refactor: 项目描述长度限制

This commit is contained in:
chenjianxing 2020-07-30 17:19:46 +08:00
parent 2f1d776ede
commit 282a5d5c17
1 changed files with 2 additions and 2 deletions

View File

@ -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'}
], ],
}, },
} }