[update] 单行文本去掉前后空格
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
<a-input
|
||||
v-decorator.trim="[ 'name', validatorRules.name]"
|
||||
:maxLength="50"
|
||||
@change="event => event.target.value = event.target.value.trim()"
|
||||
:placeholder="$t('pleaseEnter')+$t('system.friendshipLink.linkName')"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
@@ -22,6 +23,7 @@
|
||||
<a-input
|
||||
v-decorator.trim="[ 'link', validatorRules.link]"
|
||||
:maxLength="50"
|
||||
@change="event => event.target.value = event.target.value.trim()"
|
||||
:placeholder="$t('pleaseEnter')+$t('system.friendshipLink.link')"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('system.internalWorkGroup.nodeName')">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('system.internalWorkGroup.nodeName')"
|
||||
:maxLength="50"
|
||||
@change="event => event.target.value = event.target.value.trim()"
|
||||
v-decorator.trim="[ 'name', validatorRules.name ]" />
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
|
||||
Reference in New Issue
Block a user