From cb9cd5f77b5d6ace463f46ab2f0e8aafa82f9dcb Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期二, 15 四月 2025 09:44:54 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/wyyDatabase --- src/views/directory/index.vue | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/views/directory/index.vue b/src/views/directory/index.vue index 0557fb3..ac083af 100644 --- a/src/views/directory/index.vue +++ b/src/views/directory/index.vue @@ -461,37 +461,38 @@ { type: "tree", data: [this.chartData], - // symbol: "emptyCircle", top: "10%", bottom: "10%", layout: "radial", - symbol: "emptyCircle", + symbol: "circle", symbolSize: 7, initialTreeDepth: 3, // 灞曞紑鎵�鏈夎妭鐐� animationDurationUpdate: 750, emphasis: { focus: "descendant", }, + label: { position: "top", //鏍囩鐨勪綅缃�� verticalAlign: "middle", //鏂囧瓧鍨傜洿瀵归綈鏂瑰紡锛岄粯璁よ嚜鍔ㄣ�� fontSize: 12, //鏂囧瓧鐨勫瓧浣撳ぇ灏� color: "#bc1c00", }, - leaves: { - symbol: "emptyCircle", - label: { - fontSize: 12, - }, - }, + // leaves: { + // symbol: "emptyCircle", + // label: { + // fontSize: 12, + // }, + // }, expandAndCollapse: false, lineStyle: { color: "#bc1c00", width: 1, }, itemStyle: { - symbol: "emptyCircle", - color: "#bc1c00", + color: function (params) { + return "green"; + }, }, roam: true, center: ["5%", "0%"], // 寰皟鍨傜洿灞呬腑 -- Gitblit v1.9.1