From 0d3db253cad1fb49c4fae9b9a537c8c318c7172f Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 29 十一月 2023 10:23:59 +0800
Subject: [PATCH] 优化应用中心卸载

---
 src/components/canvas/index.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/components/canvas/index.vue b/src/components/canvas/index.vue
index aec91a9..75d79cd 100644
--- a/src/components/canvas/index.vue
+++ b/src/components/canvas/index.vue
@@ -169,6 +169,9 @@
   methods: {
     // 鑾峰彇canvas搴曞浘
     async getCanvasPic() {
+      if (this.TreeDataPool.selectedNode.type == "MENU") {
+        return
+      }
       // this.$emit('changeBaseImg',this.currentCameraId)
       this.$emit("changeLoading", true)
       if (this.currentCameraId) {
@@ -218,10 +221,10 @@
         })
         return
       }
-      this.$notify({
-        type: "success",
-        message: "宸蹭繚瀛樼粯鍒讹紒"
-      })
+      // this.$notify({
+      //   type: "success",
+      //   message: "宸蹭繚瀛樼粯鍒讹紒"
+      // })
       // 姣忔淇濆瓨鍏抽棴妯℃�佺獥鏃堕兘瑕佹妸妯℃�佺獥鐨勬暟鎹啓鍒扮埗缁勪欢閲屾潵
       this.canvasData = this.$refs.bigCanvas.canvasData
       // 椤轰究鐢╁埌鏇村灞傚幓

--
Gitblit v1.8.0