Browse Source

vuex退出登录mutations

master
396316021 2 years ago
parent
commit
38148b30c0
  1. 8
      store.js

8
store.js

@ -26,6 +26,14 @@ const store = createStore({
userExtends (state,userExtends) {
state.userExtends = userExtends
},
logout (state) {
state = {
footCheck:'home',
title:title,
userInfo:{},
userExtends:{},
}
},
}
})
export default store;
Loading…
Cancel
Save