From afd4342bccb0e111fe4134fa7693f50b0b91fdbd Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期三, 31 三月 2021 19:00:51 +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