NEZ-1035 fix: group chart 编辑页面无法打开
This commit is contained in:
@@ -653,8 +653,9 @@ export default {
|
||||
showAllBasicOption: false,
|
||||
rules: {
|
||||
name: [
|
||||
{ validator: this.optionType === 'batch' ? '' : noSpecialChar, trigger: 'change' },
|
||||
{ required: true, message: this.$t('validate.required'), trigger: 'change' }
|
||||
{ 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' }
|
||||
|
||||
Reference in New Issue
Block a user