fix: 修复endpoint box页面 name 正则验证错误问题

This commit is contained in:
@changcode
2021-12-14 16:43:14 +08:00
parent 2deebc92bf
commit 786de1f852
6 changed files with 35 additions and 4 deletions

View File

@@ -655,7 +655,6 @@ export default {
name: [
{ required: true, message: this.$t('validate.required'), trigger: 'change' },
{ validator: this.optionType === 'batch' ? '' : noSpecialChar, trigger: 'change' }
],
assetId: [
{ required: !(this.optionType === 'batch'), message: this.$t('validate.required'), trigger: 'change' }