提交 282a5d5c 编写于 作者: C chenjianxing

refactor: 项目描述长度限制

上级 2f1d776e
......@@ -106,10 +106,10 @@
rules: {
name: [
{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: [
{max: 50, message: this.$t('commons.input_limit', [0, 50]), trigger: 'blur'}
{max: 500, message: this.$t('commons.input_limit', [0, 500]), trigger: 'blur'}
],
},
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册