支持组件自适应项目

This commit is contained in:
aixianling
2022-06-14 09:44:09 +08:00
parent 962cabfe96
commit 0f09a7c66a
3 changed files with 12 additions and 8 deletions

View File

@@ -9,12 +9,16 @@ const store = new Vuex.Store({
state: {
token: "",
openUser: {},
apps: []
apps: [],
module: ""
},
mutations: {
setApps(state, apps) {
state.apps = apps
},
setModule(state, mod) {
state.module = mod
},
login(state, token) {
state.token = token
},