From d42260b98636503c8c1d4ad52cc09f7938e39d45 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Sat, 19 Feb 2022 22:55:01 +0800 Subject: [PATCH] fix --- src/views/dashboard/configuration/graph-styles/TopologyItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/dashboard/configuration/graph-styles/TopologyItem.vue b/src/views/dashboard/configuration/graph-styles/TopologyItem.vue index 9764b90b..2563ecc3 100644 --- a/src/views/dashboard/configuration/graph-styles/TopologyItem.vue +++ b/src/views/dashboard/configuration/graph-styles/TopologyItem.vue @@ -94,7 +94,7 @@ const backgroundColor = ref(selectedGrid.graph.backgroundColor || "green"); const fontColor = ref(selectedGrid.graph.fontColor || "white"); const content = ref(selectedGrid.graph.content); const fontSize = ref(selectedGrid.graph.fontSize); -const depth = ref(selectedGrid.graph.depth); +const depth = ref(selectedGrid.graph.depth || "2"); const colors = [ { label: "Green",