Pre Merge pull request !283 from xy/fix/login-remove-console-log

This commit is contained in:
xy 2026-10-12 07:50:47 +00:00 committed by Gitee
commit 02939bf4e5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -182,7 +182,7 @@ watch(
); );
const handleLogin = () => { const handleLogin = () => {
loginRef.value?.validate(async (valid: boolean, fields: any) => { loginRef.value?.validate(async (valid: boolean) => {
if (valid) { if (valid) {
loading.value = true; loading.value = true;
if (loginForm.value.rememberMe) { if (loginForm.value.rememberMe) {
@ -204,8 +204,6 @@ const handleLogin = () => {
await getCode(); await getCode();
} }
} }
} else {
console.log('error submit!', fields);
} }
}); });
}; };