Browse Source

白膜清除

maxiaoxiao 11 tháng trước cách đây
mục cha
commit
258aaf3f5b

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

@@ -407,8 +407,10 @@ export default {
       }
       }
     },
     },
     pullClear(item){
     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() {
     submit() {