From 77f7281ff7cee541aaa51339512e6443b7d89e42 Mon Sep 17 00:00:00 2001 From: YANGDL <114714267@qq.com> Date: 星期二, 05 一月 2021 12:04:25 +0800 Subject: [PATCH] 修改eslint配置增加mock配置 --- 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