[update] 标签管理新增去掉字段名称的最大字符数校验
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
v-model="form.dbFieldName"
|
||||
:placeholder="$t('pleaseEnter') + $t('system.tag.fieldName')"
|
||||
@change="event => event.target.value = event.target.value.trim()"
|
||||
:maxLength="120"
|
||||
:maxLength="60"
|
||||
></a-input>
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
@@ -233,7 +233,7 @@ export default {
|
||||
|
||||
dbFieldName: [
|
||||
{ required: true, message: this.$t('PleaseEnterYourEnglishName'), trigger: 'blur' },
|
||||
{ min: 1, max: 20, message: this.$t('cantExeed') + '20' + this.$t('characters'), trigger: 'blur' },
|
||||
{ min: 1, max: 60, message: this.$t('cantExeed') + '60' + this.$t('characters'), trigger: 'blur' },
|
||||
{ validator: this.test }
|
||||
],
|
||||
// 英文名称
|
||||
|
||||
Reference in New Issue
Block a user