Commit 747e8811 authored by dragondean@qq.com's avatar dragondean@qq.com Committed by zhengyi

去掉唛头首尾空格

parent 9671fbcd
......@@ -371,7 +371,7 @@
<view class="corder-v5">
<view class="corder-v5-v">
<view class="corder-v5-label"><span class="redcolor">*</span>{{$lang.lang.create.marks}}</view>
<input type="text" v-model="params.marks" maxlength="255" :placeholder="$lang.lang.notices.marks" />
<input type="text" v-model="params.marks" maxlength="255" :placeholder="$lang.lang.notices.marks" @blur="trimMarks" />
</view>
<view class="corder-v5-v" >
<view class="corder-v5-label" @click="cnoticeType2=!cnoticeType2">
......@@ -3340,6 +3340,10 @@
changeHarvestMethod(e){
this.currentHarvestIndex = e.detail.value
this.params.harvestMethod = this.harvestList[this.currentHarvestIndex].value
},
// 去掉唛头首尾空格
trimMarks(){
this.params.marks = this.params.marks.trim()
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment