fix(系统设置): 修复创建用户时ID含中文可以创建的问题

This commit is contained in:
shiziyuan9527 2020-09-17 21:27:02 +08:00
parent 1e808df7ba
commit 5c9c645016
3 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit d5b4969642fd8d10cc2f949d7377e0a0e5217a3a Subproject commit 321c869938357e8c2253e5bd86c963828664ae23

View File

@ -342,6 +342,7 @@
{min: 2, max: 50, message: this.$t('commons.input_limit', [2, 50]), trigger: 'blur'}, {min: 2, max: 50, message: this.$t('commons.input_limit', [2, 50]), trigger: 'blur'},
{ {
required: true, required: true,
pattern: '^[^\u4e00-\u9fa5]+$',
message: this.$t('user.special_characters_are_not_supported'), message: this.$t('user.special_characters_are_not_supported'),
trigger: 'blur' trigger: 'blur'
} }

@ -1 +1 @@
Subproject commit 0a375848d034d20eaf05caf11769e1c75c39235c Subproject commit f2d5a342c82e629f510550d5778d752bb73bf5e7