From cbbbc6bd2d854270b9342ce2ff2a3432aaca22cf Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期六, 18 二月 2023 15:19:31 +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