This commit is contained in:
2022-10-11 17:03:44 +08:00
parent 2eab2ecf68
commit f28e95ea2d
13 changed files with 262 additions and 128 deletions

View File

@@ -34,8 +34,8 @@ const actions = {
commit(types.SAVE_USER_INFO, res)
},
delUserInfo({commit}, res) {
uni.clearStorageSync('userInfo')
uni.clearStorageSync('saveToken')
uni.removeStorageSync('userInfo')
uni.removeStorageSync('saveToken')
commit(types.DEL_USER_INFO, res)
},
saveToken({commit}, res) {