Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
738946bc
Commit
738946bc
authored
Sep 27, 2024
by
彭俊龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增用户,用户姓名正则验证支持·
parent
ba112e2c
Pipeline
#92926
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
AddUserModal.jsx
src/pages/userCenter/userManage/AddUserModal.jsx
+1
-1
EditUserModal.jsx
src/pages/userCenter/userManage/EditUserModal.jsx
+1
-1
No files found.
src/pages/userCenter/userManage/AddUserModal.jsx
View file @
738946bc
...
...
@@ -336,7 +336,7 @@ const AddUserModal = props => {
{
pattern
:
/^
(?=
.{1,15}$
)[
A-Za-z0-9_
\u
4e00-
\u
9fa5·
]
+$/
,
//pattern: /^[A-Za-z0-9_\u4e00-\u9fa5]+$/,
message
:
'长度小于16位,支持字母、中文与数字,允许
下划线
'
,
message
:
'长度小于16位,支持字母、中文与数字,允许
"·" 和"_"
'
,
},
]
}
>
...
...
src/pages/userCenter/userManage/EditUserModal.jsx
View file @
738946bc
...
...
@@ -166,7 +166,7 @@ const EditUserModal = props => {
{
pattern
:
/^
(?=
.{1,15}$
)[
A-Za-z0-9_
\u
4e00-
\u
9fa5·
]
+$/
,
//pattern: /^[A-Za-z0-9_\u4e00-\u9fa5]+$/,
message
:
'长度小于16位,支持字母、中文与数字,允许
下划线
'
,
message
:
'长度小于16位,支持字母、中文与数字,允许
"·" 和"_"
'
,
},
]
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment