修改续订时间方式

This commit is contained in:
wangxiaowei
2025-12-19 00:32:34 +08:00
parent f54cc0f8eb
commit fc3072980c
6 changed files with 129 additions and 125 deletions

View File

@ -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)
}
}
}