maxiaoxiao 10 달 전
부모
커밋
4dd0d1b5d7
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      src/views/complianceAnalysis/components/scjg.vue

+ 4 - 2
src/views/complianceAnalysis/components/scjg.vue

@@ -285,6 +285,10 @@ export default {
       }
     },
   },
+  beforeDestroy() {
+    viewer.entities.removeAll();
+    viewer.dataSources.removeAll();
+  },
 };
 </script>
 
@@ -316,7 +320,5 @@ export default {
       color: #cddeeb;
     }
   }
-
-
 }
 </style>