Browse Source

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

Signed-off-by: dhb52 <dhb52@126.com>
dhb52 1 year ago
parent
commit
e4f18452c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/register.vue

+ 1 - 1
src/views/register.vue

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