修改bug

This commit is contained in:
zyx.net
2022-08-18 16:44:55 +08:00
parent 973c8cad11
commit a3b0130723
@@ -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'
}