From 5d2106137232b0559a14a28165094f0e1b28d14f Mon Sep 17 00:00:00 2001 From: TreeWish <1131093754@qq.com> Date: 星期一, 20 二月 2023 18:11:14 +0800 Subject: [PATCH] Merge branch 'master' of http://103.85.165.99:8989/r/LFWEB_NEW --- 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