Commit 21ae5559 authored by 前端-许佳敏's avatar 前端-许佳敏

用户管理提示语优化

parent 8b7170e0
......@@ -19,22 +19,28 @@ export const UserDetailSchema:ISchema = {
title: '登录账号',
"x-rules": [
{
required: true,
message: '请输入登录账号'
},
{
pattern: /^\w{6,20}$/,
message: '请输入由数字字母或者下划线组成的6-20位账号'
}
],
required: true
]
},
password: {
type: 'password',
title: '登录密码',
"x-rules": [
{
required: true,
message: '请输入登录密码'
},
{
pattern: PATTERN_MAPS.password,
message: '请输入由大小写字母和数字组成的8位密码'
}
],
required: true
},
name: {
type: 'string',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment