ソースを参照

BUG3217 【整车项目DVP】DVP计划,新建DVP页面,试用车用途描述字段是必填项但可以输入空格

dongfeng 10 ヶ月 前
コミット
6b227b97d1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/fullVehicle/dvpPlan/AddModal/addDvpTest.vue

+ 1 - 1
src/views/fullVehicle/dvpPlan/AddModal/addDvpTest.vue

@@ -21,7 +21,7 @@
           <!--试验车用途描述-->
           <a-col :md="12" :sm="12">
             <a-form-item :required='true' :label="$t('plan.dvp.description-of-the-purpose-of-the-test-vehicle')">
-              <a-input v-model="formData.vehicleUse" :maxLength="128" :placeholder="$t('plan.dvp.please_enter-description-of-the-purpose-of-the-test-vehicle')"/>
+              <a-input v-model.trim="formData.vehicleUse" :maxLength="128" :placeholder="$t('plan.dvp.please_enter-description-of-the-purpose-of-the-test-vehicle')"/>
             </a-form-item>
           </a-col>
 				</a-row>