Commit 426b2130 authored by shilei's avatar shilei

注册流程

parent 04a32b6f
...@@ -480,7 +480,8 @@ const register = async () => { ...@@ -480,7 +480,8 @@ const register = async () => {
checkPassword: password.value || null, checkPassword: password.value || null,
}); });
if (success) { if (success) {
message.success('注册成功'); message.success('注册成功,请去登录');
changeModalType('loginByAccount');
console.log(data); console.log(data);
} else { } else {
errorMsg.value = msg; errorMsg.value = 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