This commit is contained in:
piexlmax
2022-05-31 17:53:58 +08:00
parent 3bb4d74fab
commit b20a54f7e9
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ export const useUserStore = defineStore('user', () => {
return userInfo.activeColor
})
watch(token, () => {
watch(() => token.value, () => {
window.localStorage.setItem('token', token.value)
})