Browse Source

fix: 修复删除设备,空间之后,左侧列表没有删除对应设备,空间的问题

yunxing 3 years ago
parent
commit
be6a77661d

+ 1 - 1
src/components/editview/leftToolBar/equipmentList.vue

@@ -105,7 +105,7 @@ export default {
     watch: {
 
         equipItemNum(newV, oldV) {
-            newV && this.getEquipmentList();
+            this.getEquipmentList();
         },
     },
     mounted() {

+ 1 - 1
src/components/editview/leftToolBar/spaceList.vue

@@ -100,7 +100,7 @@ export default {
     },
     watch: {
         zoneItemNum(newV) {
-            newV && this.getSpaceList();
+            this.getSpaceList();
         },
     },
     mounted() {