init 初始化

This commit is contained in:
yuping
2023-01-07 02:29:35 +08:00
parent 38ed53736f
commit 0d068739e6
20 changed files with 384 additions and 91 deletions

View File

@@ -2,10 +2,14 @@ import { createStore } from 'vuex'
export default createStore({
state: {
userInfo: {}
},
getters: {
},
mutations: {
SET_USER(state, userInfo) {
state.userInfo = userInfo
},
},
actions: {
},