From 5421d1e2d9749d9193641139cbf3b3cbf2157ebb Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 11 Mar 2022 18:03:23 +0800
Subject: [PATCH] 部分更改
---
src/components/arcNavBar/index.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/components/arcNavBar/index.vue b/src/components/arcNavBar/index.vue
index 0641c1f..10ec4dd 100644
--- a/src/components/arcNavBar/index.vue
+++ b/src/components/arcNavBar/index.vue
@@ -47,7 +47,6 @@
props: {},
computed: {
...mapGetters([
- 'viewer',
'popupBgUrl',
'pupupQRUrl',
// 点信息
@@ -156,7 +155,7 @@
}
this.newPopup(result)
- this.viewer.flyToPosition(
+ global.viewer.flyToPosition(
new global.DC.Position(
Number(result.jd),
Number(result.wd),
@@ -176,7 +175,7 @@
new global.DC.Position(Number(item.jd), Number(item.wd), Number(item.gd))
)
// eslint-disable-next-line no-unused-vars
- var popup = new global.DC.DivForms(this.viewer, {
+ var popup = new global.DC.DivForms(global.viewer, {
domId: 'divFormsDomBox',
position: [position]
})
@@ -196,6 +195,10 @@
this.$store.commit('SET_ARCNAVBARTITLE', '')
this.$store.commit('SET_ARCNAVBARCODE', '')
this.$store.commit('SET_ARCNAVBARFLAG', false)
+
+ this.$store.commit('SET_DETAILSPOPUP', false)
+ this.$store.commit('SET_PANORAMAPOPUP', false)
+ this.$store.commit('SET_MONITORPOPUP', false)
}
}
}
--
Gitblit v1.9.3