Commit d797bd7a by 高浩杰

修改注册成功提示页面

parent f0b3ffc4
...@@ -195,10 +195,13 @@ export default { ...@@ -195,10 +195,13 @@ export default {
// 注册成功 // 注册成功
if (registerResponse !== undefined && registerResponse.code === 0) { if (registerResponse !== undefined && registerResponse.code === 0) {
this.success = true; if (this.isEmail) {
setTimeout(() => { this.success = true;
this.$router.push('/users/login'); setTimeout(() => {
}, 2500) this.$router.push('/users/login');
}, 2500)
}
this.$router.push('/users/login');
} else if(registerResponse !== undefined) { } else if(registerResponse !== undefined) {
this.errMessage = registerResponse.msg; this.errMessage = registerResponse.msg;
// 注册失败 // 注册失败
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment