refactor(系统设置): 修改用户ID长度限制

This commit is contained in:
shiziyuan9527 2020-11-25 15:04:19 +08:00
parent 4122a81100
commit 1c635c4617
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ export default {
rule: { rule: {
id: [ id: [
{required: true, message: this.$t('user.input_id'), trigger: 'blur'}, {required: true, message: this.$t('user.input_id'), trigger: 'blur'},
{min: 2, max: 50, message: this.$t('commons.input_limit', [2, 50]), trigger: 'blur'}, {min: 1, max: 50, message: this.$t('commons.input_limit', [1, 50]), trigger: 'blur'},
{ {
required: true, required: true,
pattern: '^[^\u4e00-\u9fa5]+$', pattern: '^[^\u4e00-\u9fa5]+$',