Pārlūkot izejas kodu

修改语言顺序

HebaoDan9 8 mēneši atpakaļ
vecāks
revīzija
41f737b9a0
1 mainītis faili ar 6 papildinājumiem un 5 dzēšanām
  1. 6 5
      src/views/ContactUs.vue

+ 6 - 5
src/views/ContactUs.vue

@@ -39,7 +39,7 @@
             </el-row>
             <el-row :gutter="20">
               <el-col :span="12">
-                <el-form-item label="Mobile" prop="mobile">
+                <el-form-item label="Mobile(10 digits)" prop="mobile">
                   <el-input v-model="form.mobile"></el-input>
                 </el-form-item>
               </el-col>
@@ -123,10 +123,11 @@ export default {
       },
       languages: [
         { value: "en", label: "English" },
-        { value: "zh", label: "Chinese" },
-        { value: "Ελληνικά", label: "Ελληνικά" },
-        { value: "हिंदी", label: "हिंदी" },
+        { value: "zh", label: "中文" },
         { value: "한국", label: "한국" },
+        { value: "हिंदी", label: "हिंदी" },
+        { value: "Ελληνικά", label: "Ελληνικά" },       
+       
       ],
       rules: {
         name: [
@@ -165,7 +166,7 @@ export default {
     submitForm(formName) {
       this.$refs[formName].validate((valid) => {
         if (valid) {
-          // 在这里可以添加表单提交的逻辑,例如发送数据到服务器
+          
           console.log("Form submitted:", this.form);
         } else {
           console.log("Error submitting form!");