前后端分目录
This commit is contained in:
28
h5-auth-manager/src/store/index.js
Normal file
28
h5-auth-manager/src/store/index.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
// import request from '../utils/request.js'
|
||||
|
||||
|
||||
Vue.use(Vuex)
|
||||
export default new Vuex.Store({
|
||||
state: {
|
||||
barShrink: false,
|
||||
systemList:[]
|
||||
},
|
||||
mutations: {
|
||||
|
||||
setbarShrink(state, res) {
|
||||
state.barShrink = res
|
||||
},
|
||||
setsystemList(state, res) {
|
||||
state.systemList = res
|
||||
},
|
||||
|
||||
},
|
||||
actions: {},
|
||||
modules: {},
|
||||
getters: {
|
||||
|
||||
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user