瀏覽代碼

Merge branch 'from/develop/tusooa/lang-opts' into 'develop'

Fix registration error

See merge request pleroma/pleroma-fe!1527
HJ 2 年之前
父節點
當前提交
48c739027c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/components/registration/registration.vue

+ 3 - 3
src/components/registration/registration.vue

@@ -164,13 +164,13 @@
 
             <div
               class="form-group"
-              :class="{ 'form-group--error': $v.user.language.$error }"
+              :class="{ 'form-group--error': v$.user.language.$error }"
             >
               <interface-language-switcher
                 for="email-language"
                 :prompt-text="$t('registration.email_language')"
-                :language="$v.user.language.$model"
-                :set-language="val => $v.user.language.$model = val"
+                :language="v$.user.language.$model"
+                :set-language="val => v$.user.language.$model = val"
               />
             </div>