对接银行卡接口
This commit is contained in:
@ -92,12 +92,12 @@
|
||||
/**
|
||||
* 退出
|
||||
*/
|
||||
handleLogout: () => {
|
||||
handleLogout: async () => {
|
||||
const userStore = useUserStore()
|
||||
userStore.logout()
|
||||
await userStore.logout()
|
||||
if (!userStore.isLoggedIn) {
|
||||
toast.info('退出成功')
|
||||
router.reLaunch('/pages/my/my')
|
||||
router.redirectTo('/pages/login/login')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user