From 7a8747bc51caf48afcc1e5b41be9eb27d8deb728 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期四, 16 三月 2023 10:04:44 +0800
Subject: [PATCH] 资料馆翻译,标绘功能修改

---
 src/views/Synthesis/LeftMenu.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue
index be8092f..4cf4a26 100644
--- a/src/views/Synthesis/LeftMenu.vue
+++ b/src/views/Synthesis/LeftMenu.vue
@@ -691,7 +691,6 @@
       }
 
       this.$store.state.propertiesFlag = '';
-      Viewer.entities.removeAll();
 
       if (this.isMenuFlag != val) {
         if (res.id != "b9") {
@@ -699,7 +698,7 @@
           this.$store.state.mapMenuBoxFlag = null;
           this.$store.state.mapPopBoolean = false;
           this.$store.state.mapPopBoxFlag = null;
-          sgworld.Creator.SimpleGraphic.clear();
+
           this.isMenuFlag = val;
           if (this.entityaLayers.length != 0) {
             for (var i in this.entityaLayers) {
@@ -719,7 +718,10 @@
         }
       }
       this.showTwoMenuFlag = res.id;
-
+      if (val != 'h') {
+        sgworld.Creator.SimpleGraphic.clear();
+        Viewer.entities.removeAll();
+      }
       switch (val) {
         case "a": //鍥惧眰绠$悊
           this.setCoverage(res.id);
@@ -749,6 +751,7 @@
       }
     },
     setPlot(res) {
+
       switch (res) {
         case "h1":
           sgworld.Creator.createSimpleGraphic(

--
Gitblit v1.9.3