Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weiqiao-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
金民
weiqiao-vue
Commits
39d66887
Commit
39d66887
authored
Mar 02, 2026
by
sunhaiwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户输入密码时添加相关的提示信息
parent
33ba23bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xjrsoft-vue3/src/views/system/user/components/UserModal.vue
+2
-2
No files found.
xjrsoft-vue3/src/views/system/user/components/UserModal.vue
View file @
39d66887
...
@@ -175,10 +175,10 @@
...
@@ -175,10 +175,10 @@
required
:
true
,
required
:
true
,
validator
:
(
_
,
value
)
=>
{
validator
:
(
_
,
value
)
=>
{
if
(
!
value
)
{
if
(
!
value
)
{
return
Promise
.
reject
(
'请输入登录密码'
);
return
Promise
.
reject
(
'请输入登录密码
!
'
);
}
}
if
(
pwdText
.
value
===
'弱'
)
{
if
(
pwdText
.
value
===
'弱'
)
{
return
Promise
.
reject
(
'密码强度设置过低,请至少保证
中等强度。
'
);
return
Promise
.
reject
(
'密码强度设置过低,请至少保证
长度>=5且包含大小写字母和至少3位数字!
'
);
}
}
return
Promise
.
resolve
();
return
Promise
.
resolve
();
},
},
...
...
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