fix: 用户名称限制长度的问题

This commit is contained in:
shiziyuan9527 2020-07-21 15:21:19 +08:00
parent b196e88014
commit deff09ac54
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@
rule: {
name: [
{required: true, message: this.$t('member.input_name'), trigger: 'blur'},
{min: 2, max: 10, message: this.$t('commons.input_limit', [2, 10]), trigger: 'blur'},
{min: 2, max: 20, message: this.$t('commons.input_limit', [2, 20]), trigger: 'blur'},
{
required: true,
pattern: /^[\u4e00-\u9fa5_a-zA-Z0-9.·-]+$/,