refactor(系统设置): 修改用户ID长度限制
This commit is contained in:
parent
4122a81100
commit
1c635c4617
|
@ -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]+$',
|
||||||
|
|
Loading…
Reference in New Issue