From 902a958e31b4ecdc74adb32f5e49b903238f5265 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 23 Sep 2021 11:30:16 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E5=A4=84=E7=90=86topology?= =?UTF-8?q?=E7=9A=84=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/project/topologyL5.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/project/topologyL5.vue b/nezha-fronted/src/components/common/project/topologyL5.vue index c9a986227..08d46fe55 100644 --- a/nezha-fronted/src/components/common/project/topologyL5.vue +++ b/nezha-fronted/src/components/common/project/topologyL5.vue @@ -1322,7 +1322,7 @@ export default { this.penId = data.id } }) - this.$refs.CanvasProps.loading = true + this.$refs.CanvasProps && (this.$refs.CanvasProps.loading = true) break case 'line': case 'addLine': @@ -1343,7 +1343,7 @@ export default { this.penId = data.id } }) - this.$refs.CanvasProps.loading = true + this.$refs.CanvasProps && (this.$refs.CanvasProps.loading = true) break case 'multi': this.props = {