token退出删除

This commit is contained in:
2024-03-18 14:12:30 +08:00
parent dd597f2c02
commit 12189b3666
2 changed files with 2 additions and 1 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