fix
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user