Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b9633a38
authored
Mar 02, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
cc996638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/utils/common.js
src/utils/common.js
View file @
b9633a3
...
@@ -102,7 +102,7 @@ export const Common = {
...
@@ -102,7 +102,7 @@ export const Common = {
* 中文英文数字下划线括号
* 中文英文数字下划线括号
*/
*/
checkName
(
rule
,
value
,
callback
)
{
checkName
(
rule
,
value
,
callback
)
{
var
rxp
=
/^
[\u
4e00-
\u
9fa5
_-a-zA-Z0-9.
\\
()
\\
()
]
+$/
;
var
rxp
=
/^
[\u
4e00-
\u
9fa5
-a-zA-Z0-9.-_
\\
()
\\
()
]
+$/
;
if
(
!
rule
.
required
)
{
if
(
!
rule
.
required
)
{
if
(
!
value
)
{
if
(
!
value
)
{
callback
();
callback
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment