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/searchDetails/index.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/components/searchDetails/index.vue b/src/components/searchDetails/index.vue
index c34590d..e845ed1 100644
--- a/src/components/searchDetails/index.vue
+++ b/src/components/searchDetails/index.vue
@@ -38,7 +38,6 @@
     },
     computed: {
         ...mapGetters([
-            'viewer',
             'popupBgUrl',
             'pupupQRUrl',
             // 点信息
@@ -141,7 +140,7 @@
             }
 
             this.newPopup(item)
-            this.viewer.flyToPosition(
+            global.viewer.flyToPosition(
                 new global.DC.Position(
                     Number(item.jd),
                     Number(item.wd),
@@ -167,7 +166,7 @@
                 )
             )
             // 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]
             })

--
Gitblit v1.9.3