feat: 注册流程优化

This commit is contained in:
tim
2025-07-15 13:54:01 +08:00
parent 59f03f4f13
commit bb9b13664f
4 changed files with 19 additions and 9 deletions

View File

@@ -77,7 +77,7 @@ export default {
const data = await res.json()
if (res.ok) {
toast.success('验证码已发送,请查收邮箱')
this.$router.push('/signup?verify=1')
this.$router.push({ path: '/signup', query: { verify: 1, u: sessionStorage.getItem('signup_username') } })
} else {
toast.error(data.error || '发送失败')
}