...
|
...
|
@@ -193,11 +193,11 @@ export function pwdModifyRepeat(pwd) { |
|
|
};
|
|
|
}
|
|
|
|
|
|
export function pwdModifySubmit(pid, oldPwd, newPwd) {
|
|
|
export function pwdModifySubmit(pid, oldPwd, newPwd,newPwdConfirm) {
|
|
|
let userService = new UserService();
|
|
|
return dispatch => {
|
|
|
dispatch(loginRequest());
|
|
|
return userService.modifyPassword(pid, oldPwd, newPwd)
|
|
|
return userService.modifyPassword(pid, oldPwd, newPwd,newPwdConfirm)
|
|
|
.then(function (json) {
|
|
|
Alert.alert(
|
|
|
'修改成功',
|
...
|
...
|
|