fix: if(captchaEnabled) => if(captchaEnabled.value)

Signed-off-by: dhb52 <dhb52@126.com>
This commit is contained in:
dhb52 2024-03-14 16:42:00 +00:00 committed by Gitee
parent fdf64a6f08
commit e4f18452c7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -121,7 +121,7 @@ const handleRegister = () => {
await router.push('/login');
} else {
loading.value = false;
if (captchaEnabled) {
if (captchaEnabled.value) {
getCode();
}
}