token退出删除

This commit is contained in:
2024-03-18 14:01:45 +08:00
parent 381c075d12
commit f15cc674f3
4 changed files with 4 additions and 3 deletions

View File

@@ -63,6 +63,7 @@ const mutations = {
},
[types.DEL_USER_INFO] (state, res) {
state.userInfo = res
state.saveToken = res
},
[types.SAVE_TOKEN] (state, res) {
state.saveToken = res