认证-参数项-变更:参数说明限制1000字符
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user