Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
f3370afd
Commit
f3370afd
authored
Jul 23, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户账号限制
parent
d1bc528a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/pages/authority/user/organizationuser.vue
src/pages/authority/user/organizationuser.vue
+2
-2
No files found.
src/pages/authority/user/organizationuser.vue
View file @
f3370afd
...
@@ -206,12 +206,12 @@ export default {
...
@@ -206,12 +206,12 @@ export default {
},
1000
);
},
1000
);
};
};
var
user_name_pass
=
(
rule
,
value
,
callback
)
=>
{
var
user_name_pass
=
(
rule
,
value
,
callback
)
=>
{
var
reg
=
/^
[
a-z
A-Z
0-9|
\-
|_|
\.]
+$/
;
var
reg
=
/^
[
a-z0-9|
\-
|_|
\.]
+$/
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
reg
.
test
(
value
))
{
if
(
reg
.
test
(
value
))
{
callback
();
callback
();
}
else
{
}
else
{
callback
(
new
Error
(
"
只支持字母、数字、-、_、.
"
));
callback
(
new
Error
(
"
只支持
小写
字母、数字、-、_、.
"
));
}
}
},
100
);
},
100
);
};
};
...
...
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