From d46ebfb71da0148dcc2724024cf7b053d784f299 Mon Sep 17 00:00:00 2001 From: 少年 <1392120328@qq.com> Date: 星期二, 05 三月 2024 18:35:10 +0800 Subject: [PATCH] youhua --- src/utils/store2.js | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/utils/store2.js b/src/utils/store2.js index 71ea321..b821e9c 100644 --- a/src/utils/store2.js +++ b/src/utils/store2.js @@ -1,4 +1,16 @@ const store = { + navigator: { + show: true, + }, + setNavigatorShow(val){ + this.navigator.show = val + }, + mapTools: { + show: true, + }, + setMapToolShow(val){ + this.mapTools.show = val + }, /**鍦板潃椤甸潰 */ locationCollection: { show: false @@ -157,13 +169,13 @@ info: {} }, setdwFlag(val) { - this.tdglInfo.flag = val; + this.dwInfo.flag = val; }, setdwShow(val) { - this.tdglInfo.show = val; + this.dwInfo.show = val; }, setdwInfo(val) { - this.tdglInfo.info = val; + this.dwInfo.info = val; }, /** * 鍘嗗彶褰卞儚 -- Gitblit v1.9.3