fix: toast

This commit is contained in:
zhangyahui
2025-10-30 13:31:17 +08:00
parent 7f83a1b030
commit aad931182e
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ const handleLogin = async () => {
console.log('登录成功', response)
userInfoStore.setToken(response.token)
userInfoStore.setUserInfo(response.user)
showToast('登录成功')
showToast('login success')
router.replace('/stylist/customer')
})

View File

@@ -139,7 +139,7 @@ const handleConfirm = async () => {
fetchRegisterOrLogin({ ...formData, operationType: 'REGISTER' })
.then((res) => {
console.log('res', res)
showToast('注册成功')
showToast('register success')
router.push('/login')
})
.catch((err) => {