From 75e8b201c5094714894b1b6206b8811eab2bfd20 Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期五, 06 六月 2025 09:34:28 +0800 Subject: [PATCH] Merge branch 'master' of http://103.135.160.14:9034/r/NslWeb --- src/store/simulation.js | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/store/simulation.js b/src/store/simulation.js index d5c460d..4bfc089 100644 --- a/src/store/simulation.js +++ b/src/store/simulation.js @@ -23,12 +23,12 @@ const weatherShow = ref(false) const barShow = ref(false) const deviceShow = ref(false) - const showResultAssess = ref(false) const showLayerTree = ref(true) - const showDangerAssess = ref(false) const schemCard = ref([]) const backToHome = ref(false) const selectedScheme = ref(null) + // 妯℃嫙浠跨湡鍥句緥 + const isShowEarth = ref(false) // 闄嶉洦鏁版嵁鍒楄〃 const rainFalls = ref() // 闄嶉洦鍗曚綅 @@ -58,8 +58,6 @@ rightRiverShow.value = false showPreview.value = false deviceShow.value = false - showResultAssess.value = false - showDangerAssess.value = false schemCard.value = [] } @@ -102,24 +100,29 @@ init() flyToHomeView() locationShow.value = true + isShowEarth.value = true + } const startZHJC = () => { init() functionShow.value = true deviceShow.value = true + isShowEarth.value = true + } const startMNFZ = () => { init() leftShow.value = true - // rightRiverShow.value = true + isShowEarth.value = false + } const startMNPG = () => { init() - // showResultAssess.value = true - // showDangerAssess.value = true + isShowEarth.value = false + } const setBackToHome = (value) => { @@ -162,9 +165,7 @@ weatherShow, barShow, deviceShow, - showResultAssess, showLayerTree, - showDangerAssess, schemCard, backToHome, rainFalls, @@ -172,6 +173,7 @@ DangerPoint, DeviceShowSwitch, DangerShowSwitch, + isShowEarth, // 鏂规鐩稿叧鏂规硶 setSchemCard, -- Gitblit v1.9.3