فهرست منبع

清空图斑上图

maxiaoxiao 1 سال پیش
والد
کامیت
3e4def3e03
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      src/components/Query/clickQuery/clickQuery.vue

+ 3 - 1
src/components/Query/clickQuery/clickQuery.vue

@@ -57,7 +57,7 @@ import CockpitVector from "./CockpitVector.vue";
 import MultiLevelQuery from "./MultiLevelQuery.vue";
 
 import * as pick_cockpit_vector from "./pick_cockpit_vector.js";
-
+import * as tdsy from "@/views/cockpit/js/tdsy";
 let gwtype;
 export default {
   name: "clickQuery",
@@ -167,6 +167,8 @@ export default {
     toggleVisibility() {
       this.removeMapLayerQuery();
       store.setToolBarAction(9);
+      tdsy.remove()
+      store.state.vectorData = [];
     },
     addGeometrys(fill) {
       this.viewer.entities.removeAll();