修改bug

This commit is contained in:
zyx.net
2022-08-18 16:42:01 +08:00
parent d036dcb500
commit 30275f0267
3 changed files with 5 additions and 2 deletions
@@ -134,8 +134,9 @@ export default {
rules: {
separator:[
{ 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'
}