Sfoglia il codice sorgente

add remove all entities when exprt json

xyh 2 anni fa
parent
commit
80841f132f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/views/situation/index.vue

+ 3 - 0
src/views/situation/index.vue

@@ -210,6 +210,9 @@ export default {
     async getJson(row) {
       this.viewer2D.entities.removeAll();
       this.viewer3D.entities.removeAll();
+      this.id = 1;
+      this.nameIdList = []
+      this.jsonData = {}
      const requestData = row
      //发发送websockte请求
     // if(this.websocket && this.websocket.readyState === WebSocket.OPEN){