mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-06 03:50:47 +08:00
feat: 注册流程优化
This commit is contained in:
@@ -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 || '发送失败')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user