From 198b83ce825fbbf912cb26d592e3c7b0b586ca92 Mon Sep 17 00:00:00 2001
From: 王旭 <1377869194@qq.com>
Date: 星期一, 20 二月 2023 17:38:22 +0800
Subject: [PATCH] 数据管理页面格式

---
 src/views/Tools/queryinfo.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/views/Tools/queryinfo.vue b/src/views/Tools/queryinfo.vue
index 92dc996..b283a42 100644
--- a/src/views/Tools/queryinfo.vue
+++ b/src/views/Tools/queryinfo.vue
@@ -61,15 +61,17 @@
     // 鍏抽棴寮圭獥
     close(id) {
       let index = this.PopupData.findIndex((item) => {
-		  console.log(item);
+        console.log(item);
         return item.id === id;
       });
       let data = this.PopupData.splice(index, 1)[0];
       // data.close && data.close();
-	 
-	  
-	  
-	  
+      if(this.$store.state.primitLayer != null){
+sgworld.Viewer.entities.remove(this.$store.state.primitLayer);
+      sgworld.Creator.DeleteObject(this.$store.state.primitLayer);
+      this.$store.state.primitLayer = null
+      }
+      
     },
     // 鎵撳紑寮圭獥
     open(title, value, style = {}) {

--
Gitblit v1.9.3