修改法规清单的备注和参数的编号名称限制字符
This commit is contained in:
@@ -392,7 +392,7 @@ export default {
|
|||||||
],
|
],
|
||||||
paramsName: [
|
paramsName: [
|
||||||
{ required: true, message: this.$t('pleaseSelect')+this.$t('Paraname'), trigger: 'blur' },
|
{ required: true, message: this.$t('pleaseSelect')+this.$t('Paraname'), trigger: 'blur' },
|
||||||
{ min:1, max: 350, message: this.$t('cantExeed')+'350'+this.$t('characters'), trigger: 'blur' },
|
{ min:1, max: 500, message: this.$t('cantExeed')+'500'+this.$t('characters'), trigger: 'blur' },
|
||||||
],
|
],
|
||||||
technologyTerritory: [
|
technologyTerritory: [
|
||||||
{ required: true, message: this.$t('pleaseSelect')+this.$t('technicalField'), trigger: 'change' },
|
{ required: true, message: this.$t('pleaseSelect')+this.$t('technicalField'), trigger: 'change' },
|
||||||
@@ -703,8 +703,8 @@ export default {
|
|||||||
this.$message.warning(this.$t('ParameterName')+this.$t('cannotEmpty'))
|
this.$message.warning(this.$t('ParameterName')+this.$t('cannotEmpty'))
|
||||||
falg = 0
|
falg = 0
|
||||||
return
|
return
|
||||||
} else if(item.paramsName.length > 350){
|
} else if(item.paramsName.length > 500){
|
||||||
this.$message.warning(this.$t('ParameterName')+this.$t('cantExeed')+'350'+this.$t('Characters'))
|
this.$message.warning(this.$t('ParameterName')+this.$t('cantExeed')+'500'+this.$t('Characters'))
|
||||||
falg = 0
|
falg = 0
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user