From 21c0837e6f96ada513d3bd5210d96f8ff8681c5d Mon Sep 17 00:00:00 2001 From: chenyibo <p-honggang.li@pcitc.com> Date: 星期五, 02 四月 2021 14:19:53 +0800 Subject: [PATCH] 1.修改随机获取天地图token 问题 --- 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