This commit is contained in:
2025-07-25 16:18:33 +08:00
parent c09cbc3f01
commit a4c6140ed5
50 changed files with 2249 additions and 1599 deletions
+3 -2
View File
@@ -161,7 +161,8 @@
...values,
captchaKey: captchaKey.value
}
const data = await userStore.loginWithAuth(loginData)
// const data = await userStore.loginWithAuth(loginData)
await userStore.loginWithAuth(loginData)
message.success('登录成功')
await nextTick()
const redirect = router.currentRoute.value.query.redirect as string
@@ -170,7 +171,7 @@
try {
router.replace(targetPath).then(() => {
console.log('路由跳转完成')
}).catch((error) => {
}).catch((_error) => {
window.location.href = targetPath
})
} catch (error) {