tangning 9 kuukautta sitten
vanhempi
commit
d975eadb04
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 7 7
      src/views/airshow/index.vue

+ 7 - 7
src/views/airshow/index.vue

@@ -16,7 +16,7 @@
         />
         <div class="myTitle required"><span class="number">02</span>证件类型</div>
         <van-field
-          v-model="setObjId.carType"
+          v-model="setObjId.type"
           class="zdycell"
           is-link
           readonly
@@ -24,13 +24,13 @@
           label=""
           :placeholder="t('feedback.setselcet')"
           :rules="[{ required: true, message: '请选择证件类型' }]"
-          @click="showPicker.carType = true"
+          @click="showPicker.type = true"
         />
-        <van-popup v-model:show="showPicker.carType" position="bottom">
+        <van-popup v-model:show="showPicker.type" position="bottom">
           <van-picker
             :columns="columns.industryOptionId"
-            @confirm="(val) => onConfirm(val, 'carType')"
-            @cancel="showPicker.carType = false"
+            @confirm="(val) => onConfirm(val, 'type')"
+            @cancel="showPicker.type = false"
           />
         </van-popup>
 
@@ -243,12 +243,12 @@
   const loading = ref(false);
   const submits = ref(null);
   const setObjId = ref({
-    carType: null,
+    type: null,
     nationality: null,
     joinDate: null,
   });
   const showPicker = ref({
-    carType: false,
+    type: false,
     nationality: false,
     softwareOptionId: false,
     joinDate: false,