From 4593a5c6ef4549a519681fa44d94fa242d15bec4 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 30 Dec 2021 11:57:28 +0800
Subject: [PATCH] 完善

---
 src/store/modules/popupParams.js |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/store/modules/popupParams.js b/src/store/modules/popupParams.js
index 077817e..9a3e9ab 100644
--- a/src/store/modules/popupParams.js
+++ b/src/store/modules/popupParams.js
@@ -9,9 +9,11 @@
         siteName: null,
         telephone: null,
         introduceText: null,
-        panoramaUrl: null,
         detailsPopup: false,
+        panoramaUrl: null,
         panoramaPopup: false,
+        monitorUrl: null,
+        monitorPopup: false,
         // 图集
         popupImgAtlas: [],
         teachList: [],
@@ -48,11 +50,17 @@
         SET_PANORAMAURL (state, panoramaUrl) {
             state.panoramaUrl = panoramaUrl
         },
-        SET_DETAILSPOPUP (state, detailsPopup) {
-            state.detailsPopup = detailsPopup
-        },
         SET_PANORAMAPOPUP (state, panoramaPopup) {
             state.panoramaPopup = panoramaPopup
+        },
+        SET_MONITORURL (state, monitorUrl) {
+            state.monitorUrl = monitorUrl
+        },
+        SET_MONITORPOPUP (state, monitorPopup) {
+            state.monitorPopup = monitorPopup
+        },
+        SET_DETAILSPOPUP (state, detailsPopup) {
+            state.detailsPopup = detailsPopup
         },
         SET_POPUPIMGATLAS (state, popupImgAtlas) {
             state.popupImgAtlas = popupImgAtlas
@@ -69,6 +77,7 @@
             state.introduceText = param
             state.telephone = param
             state.panoramaUrl = param
+            state.monitorUrl = param
             state.teachList = []
             state.liveList = []
         }

--
Gitblit v1.9.3