Explorar el Código

!93 fix: if(captchaEnabled) => if(captchaEnabled.value)
Merge pull request !93 from dhb52/N/A

疯狂的狮子Li hace 2 años
padre
commit
1383f5a7eb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();
         }
       }