Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
ShopERP
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
0
Merge Requests
0
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
杜龙飞
ShopERP
Commits
814c17bb
Commit
814c17bb
authored
Jul 14, 2025
by
PC-20220610JUCQ\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
<develop>:(ShopERP 端)<无> 找回密码,增加 输入框的数据校验。
parent
f154fc5e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
7 deletions
+1
-7
CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/forgetPassword.html
+1
-7
No files found.
CoreCms.Net.Web.Admin/wwwroot/views/user/userInfo/forgetPassword.html
View file @
814c17bb
...
...
@@ -93,16 +93,10 @@
// 如果没有错误,则验证通过
var
errorUserName
=
form
.
validate
(
$
(
"#userName"
));
var
errorEmail
=
form
.
validate
(
$
(
"#email"
));
if
(
error
||
errorEmail
)
{
if
(
error
UserName
||
errorEmail
)
{
return
;
// 验证不通过,自动显示错误信息
}
if
(
userName
==
""
||
userEmail
==
""
)
{
layer
.
msg
(
"-用户工号,用户邮箱 都不能为空!"
);
return
;
}
layer
.
msg
(
"-用户工号:"
+
userName
+
",用户邮箱:"
+
userEmail
);
});
...
...
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