修改bug
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
<a-form-model-item class="itemModel" prop="separator">
|
||||
<!-- :disabled="disabled"-->
|
||||
<a-input class="box-input"
|
||||
v-model="formInline.separator"
|
||||
v-model.trim="formInline.separator"
|
||||
:placeholder="$t('PleaseEnter')+$t('MergeSeparator')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -136,7 +136,7 @@ export default {
|
||||
{ required: true, message: this.$t('PleaseEnter')+this.$t('MergeSeparator'), trigger: 'change' },
|
||||
{ min:1, max: 1, message: this.$t('onlyone'), trigger: 'blur' },
|
||||
{
|
||||
pattern: /^[\`\~ \!\@\$\%\^\&\*\(\) \_\+\-\= \[\]\{\}\\\| \;\'\'\:\"\" \\.\/\<\>\?]+$/,
|
||||
pattern: /^[\`\~\!\@\$\%\^\&\*\(\)\_\+\-\= \[\]\{\}\\\|\;\'\'\:\"\"\\.\/\<\>\?]+$/,
|
||||
message: this.$t('punctuationmark'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user