瀏覽代碼

Fix registration error

Tusooa Zhu 2 年之前
父節點
當前提交
79ee77a6fe
共有 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>