fix: 用户名称限制长度的问题
This commit is contained in:
parent
b196e88014
commit
deff09ac54
|
@ -101,7 +101,7 @@
|
||||||
rule: {
|
rule: {
|
||||||
name: [
|
name: [
|
||||||
{required: true, message: this.$t('member.input_name'), trigger: 'blur'},
|
{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,
|
required: true,
|
||||||
pattern: /^[\u4e00-\u9fa5_a-zA-Z0-9.·-]+$/,
|
pattern: /^[\u4e00-\u9fa5_a-zA-Z0-9.·-]+$/,
|
||||||
|
|
Loading…
Reference in New Issue