From 30f4204ca6fb295d0f3d9cae41fbb4e62321beb4 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 05 Dec 2023 10:03:37 +0800
Subject: [PATCH] 处理按钮显示
---
src/components/mobilePopupOurOnce/index.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/components/mobilePopupOurOnce/index.vue b/src/components/mobilePopupOurOnce/index.vue
index 171ce88..f093b9e 100644
--- a/src/components/mobilePopupOurOnce/index.vue
+++ b/src/components/mobilePopupOurOnce/index.vue
@@ -64,7 +64,9 @@
...mapGetters(['mviewer']),
seebut () {
const buts = this.onceData.buts
+
let b = []
+
for (const k in buts) {
if (buts[k] == '实景') {
continue
@@ -73,6 +75,7 @@
name: buts[k]
})
}
+
if (this.ourData.panoramaurl) {
b.push({
name: '实景'
@@ -114,10 +117,6 @@
if (this.ourData.name == '活动') {
console.log(this.ourData)
return
- }
- const options = {
- url: 'https://js.arcgis.com/4.14/',
- css: 'https://js.arcgis.com/4.14/esri/themes/light/main.css'
}
this.$EventBus.$emit('addSitePositionLayer', this.ourData)
--
Gitblit v1.9.3