This commit is contained in:
2026-02-23 16:28:39 +08:00
parent 94c0476207
commit 49fb91d95a
7 changed files with 22 additions and 27 deletions

View File

@@ -102,6 +102,7 @@
verificationCode: code
})
.then((res) => {
console.log(res)
if (res) {
userInfoStore.setToken(res)
userInfoStore.setUserInfo({
@@ -110,8 +111,8 @@
router.push({ name: 'mainInput' })
}
})
.catch(() => {
console.warn('error verify code!')
.catch((error) => {
console.warn(error)
})
}
</script>