refactor: 项目描述长度限制
This commit is contained in:
parent
2f1d776ede
commit
282a5d5c17
|
@ -106,10 +106,10 @@
|
||||||
rules: {
|
rules: {
|
||||||
name: [
|
name: [
|
||||||
{required: true, message: this.$t('project.input_name'), trigger: 'blur'},
|
{required: true, message: this.$t('project.input_name'), trigger: 'blur'},
|
||||||
{min: 2, max: 25, message: this.$t('commons.input_limit', [2, 25]), trigger: 'blur'}
|
{min: 2, max: 50, message: this.$t('commons.input_limit', [2, 50]), trigger: 'blur'}
|
||||||
],
|
],
|
||||||
description: [
|
description: [
|
||||||
{max: 50, message: this.$t('commons.input_limit', [0, 50]), trigger: 'blur'}
|
{max: 500, message: this.$t('commons.input_limit', [0, 500]), trigger: 'blur'}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue