lingdu 1 місяць тому
батько
коміт
43a15f018a
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      src/view/fenghui/introduction.vue

+ 3 - 3
src/view/fenghui/introduction.vue

@@ -198,12 +198,12 @@ import { showToast } from 'vant';
 import lang from './lang.js';
 const showCheck = ref(false);
 const verificationCode = ref('');
-const prprs = defineProps(['langType']);
+const props = defineProps(['langType']);
 const emits = defineEmits(['checkVerificationCode']);
 let code = '';
 
 const checkVerificationCode = () => {
-    let userType = lang[prprs.langType].distinguishedGuest[code];
+    let userType = lang[props.langType].distinguishedGuest[code];
     checkCode({
         code: verificationCode.value.toLowerCase(),
         userType
@@ -217,7 +217,7 @@ const checkVerificationCode = () => {
                 message = messages.enMessage;
             }
             showToast(message);
-            showToast(lang[prprs.langType].verificationCodeError);
+            showToast(lang[props.langType].verificationCodeError);
             return;
         }
     })