mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-17 23:06:50 +08:00
init
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import { createStore } from 'vuex'
|
||||
import {createStore} from 'vuex'
|
||||
|
||||
export default createStore({
|
||||
state: {
|
||||
},
|
||||
getters: {
|
||||
},
|
||||
mutations: {
|
||||
},
|
||||
actions: {
|
||||
},
|
||||
modules: {
|
||||
}
|
||||
state: {
|
||||
userInfo: {}
|
||||
},
|
||||
getters: {},
|
||||
mutations: {
|
||||
SET_USER(state, userInfo) {
|
||||
state.userInfo = userInfo
|
||||
},
|
||||
},
|
||||
actions: {},
|
||||
modules: {}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user