This commit is contained in:
Sakurasan
2025-04-16 23:39:56 +08:00
parent 2360e7d2bf
commit d4cbc27a77
6 changed files with 80 additions and 27 deletions

View File

@@ -79,9 +79,9 @@ const handleRegister = async () => {
password: password.value
})
if (res.status === 200) {
setToast(res.data?.msg || '注册成功', 'success');
setToast(res.data?.msg || '注册', 'success');
setTimeout(() => {
router.push('/sign_in');
router.push('/login');
}, 100);
error.value = ''
}