修复登录页面重复调用token导致token失效的bug

This commit is contained in:
唐明明
2022-06-15 16:07:25 +08:00
parent fe178cc98c
commit 7d8b0994f5
127 changed files with 167 additions and 31 deletions

View File

@@ -23,7 +23,7 @@ export default new Vuex.Store({
}
},
mutations: {
setToken(state, tokenString) {
setToken(state, tokenString) {
state.token = tokenString
uni.setStorageSync('token', tokenString)
},