1
This commit is contained in:
parent
127428f7c4
commit
c7bbf42e96
@ -277,7 +277,7 @@ const handleLogout = async () => {
|
|||||||
icon: 'success',
|
icon: 'success',
|
||||||
})
|
})
|
||||||
// 清除本地存储的用户信息
|
// 清除本地存储的用户信息
|
||||||
uni.removeStorageSync('x-token')
|
uni.removeStorageSync('token')
|
||||||
uni.removeStorageSync('userInfo')
|
uni.removeStorageSync('userInfo')
|
||||||
// 跳转到登录页
|
// 跳转到登录页
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user