修改续订时间方式
This commit is contained in:
@ -230,12 +230,14 @@
|
||||
/**
|
||||
* 退出
|
||||
*/
|
||||
handleLogout: () => {
|
||||
handleLogout: async () => {
|
||||
const userStore = useUserStore()
|
||||
userStore.logout()
|
||||
await userStore.logout()
|
||||
if (!userStore.isLoggedIn) {
|
||||
toast.info('退出成功')
|
||||
router.reLaunch('/pages/my/my')
|
||||
setTimeout(() => {
|
||||
router.reLaunch('/pages/my/my')
|
||||
}, 1000)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user