Browse Source

白膜清除

maxiaoxiao 11 months ago
parent
commit
258aaf3f5b
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/siteselection/components/xzjg.vue

+ 4 - 2
src/views/siteselection/components/xzjg.vue

@@ -407,8 +407,10 @@ export default {
       }
     },
     pullClear(item){
-      if (dataSources[item.id])
-      viewer.dataSources.remove(dataSources[item.id]);
+      if (dataSources[item.id]){
+        viewer.dataSources.remove(dataSources[item.id]);
+        dataSources[item.id] = null
+      }
     },
 
     submit() {