Browse Source

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

Signed-off-by: dhb52 <dhb52@126.com>
dhb52 1 năm trước cách đây
mục cha
commit
e4f18452c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
         }
       }