From 0547901378595158423e4f992ad889abe9d0aad0 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期一, 19 四月 2021 14:03:11 +0800 Subject: [PATCH] 修复图层重复加载、图层动画颜色不一致、地图数据缺失问题 --- src/store/modules/app.js | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/store/modules/app.js b/src/store/modules/app.js index 9fe8eb7..6b22491 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -1,29 +1,27 @@ export default { - state: { + state: { - //灞炴�� + // 灞炴�� - demoValue:{} + demoValue: {} - }, + }, - getters: { + getters: { - getDemoValue: state => state.demoValue + getDemoValue: state => state.demoValue - }, + }, - mutations: { + mutations: { - //set鏂规硶 + // set鏂规硶 - setDemoValue(state,demoValue){ - - state.demoValue = demoValue - - } - + setDemoValue (state, demoValue) { + state.demoValue = demoValue } + } + } -- Gitblit v1.8.0