token退出删除

This commit is contained in:
2024-03-18 13:21:31 +08:00
parent a91a487141
commit 8f0b8ef548
5 changed files with 5 additions and 4 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