From b177feef56ce914f4c4ace4fb4ed6142858e9935 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Thu, 29 Jul 2021 19:21:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/user/form.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/system/user/form.vue b/frontend/src/views/system/user/form.vue index 8b720968d2..25b1887457 100644 --- a/frontend/src/views/system/user/form.vue +++ b/frontend/src/views/system/user/form.vue @@ -93,7 +93,7 @@ export default { rule: { username: [ { required: true, message: this.$t('user.input_id'), trigger: 'blur' }, - { min: 2, max: 10, message: this.$t('commons.input_limit', [2, 10]), trigger: 'blur' }, + { min: 1, max: 50, message: this.$t('commons.input_limit', [1, 50]), trigger: 'blur' }, { required: true, pattern: '^[^\u4e00-\u9fa5]+$', @@ -103,7 +103,7 @@ export default { ], nickName: [ { required: true, message: this.$t('user.input_name'), trigger: 'blur' }, - { min: 2, max: 10, message: this.$t('commons.input_limit', [2, 10]), trigger: 'blur' }, + { min: 2, max: 50, message: this.$t('commons.input_limit', [2, 50]), trigger: 'blur' }, { required: true, message: this.$t('user.special_characters_are_not_supported'),