认证-参数项-变更:参数说明限制1000字符

This commit is contained in:
liyawei
2022-07-12 16:34:44 +08:00
parent 1f53cfd556
commit d7ac0ab397
4 changed files with 33 additions and 7 deletions
@@ -379,7 +379,7 @@ export default {
{ required: true, message: this.$t('PleaseSelect')+this.$t('areaOfResponsibility'), trigger: 'change' },
],
description: [
{ min:1, max: 100, message: this.$t('cantExeed')+'1000'+this.$t('characters'), trigger: 'blur' },
{ min:1, max: 1000, message: this.$t('cantExeed')+'1000'+this.$t('characters'), trigger: 'blur' },
],
controlType: [
{ required: true, message: this.$t('pleaseSelect')+this.$t('controlType'), trigger: 'change' },
@@ -667,8 +667,8 @@ export default {
}
if(item.description !== undefined && item.description !== null){
// 参数说明的限制
if(item.description.length > 200){
this.$message.warning(this.$t('ParameterDescription')+this.$t('cantExeed')+'200'+this.$t('Characters'))
if(item.description.length > 1000){
this.$message.warning(this.$t('ParameterDescription')+this.$t('cantExeed')+'1000'+this.$t('Characters'))
falg = 0
return
}