Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sass-admin
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
hqzhdj_app
sass-admin
Commits
502466c6
Commit
502466c6
authored
Jun 09, 2025
by
end
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改密码
parent
765b8af5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
dist.zip
+0
-0
src/pages/SystemManagement/Organization/EditPassword/EditPassword.jsx
+2
-3
No files found.
dist.zip
View file @
502466c6
No preview for this file type
src/pages/SystemManagement/Organization/EditPassword/EditPassword.jsx
View file @
502466c6
...
@@ -41,12 +41,11 @@ class EditPassword extends Component {
...
@@ -41,12 +41,11 @@ class EditPassword extends Component {
}
}
handleSubmit
=
e
=>
{
handleSubmit
=
e
=>
{
e
.
preventDefault
();
//
e.preventDefault();
this
.
props
.
form
.
validateFields
((
err
,
values
)
=>
{
this
.
props
.
form
.
validateFields
((
err
,
values
)
=>
{
if
(
err
)
return
;
if
(
err
)
return
;
else
{
else
{
//因为后台需要传一个字段
//因为后台需要传一个字段
let
{
accountUpdatePassword
}
=
this
.
props
;
let
{
id
,
password
}
=
values
;
let
{
id
,
password
}
=
values
;
const
public_key
=
'047214fe3a249b75b6ba92ee494e0a8a68c0a19893a480b3c28bf06cd5b7d621243c7f6704caa3b43ade6be15de11cabd185611a9edfdcf1b11d7a2478c67b4c1c'
const
public_key
=
'047214fe3a249b75b6ba92ee494e0a8a68c0a19893a480b3c28bf06cd5b7d621243c7f6704caa3b43ade6be15de11cabd185611a9edfdcf1b11d7a2478c67b4c1c'
...
@@ -85,7 +84,7 @@ class EditPassword extends Component {
...
@@ -85,7 +84,7 @@ class EditPassword extends Component {
sign
:
md5
(
sign
)
sign
:
md5
(
sign
)
}
}
// let passwordVal = { id, password };
// let passwordVal = { id, password };
accountUpdatePassword
(
parms
);
this
.
props
.
accountUpdatePassword
(
parms
);
//关闭模态框
//关闭模态框
this
.
props
.
onCancel
(
false
);
this
.
props
.
onCancel
(
false
);
}
}
...
...
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