소스 검색

add remove all entities when exprt json

xyh 2 년 전
부모
커밋
80841f132f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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){