修改密码不需要登录 review by yewanwan
Showing
1 changed file
with
4 additions
and
1 deletions
@@ -217,7 +217,10 @@ export function pwdModifySubmit(pid, oldPwd, newPwd,newPwdConfirm) { | @@ -217,7 +217,10 @@ export function pwdModifySubmit(pid, oldPwd, newPwd,newPwdConfirm) { | ||
217 | Alert.alert( | 217 | Alert.alert( |
218 | '修改成功', | 218 | '修改成功', |
219 | '', | 219 | '', |
220 | - [{text: 'OK', onPress: () => dispatch(logout())}] | 220 | + [{text: 'OK', onPress: () => { |
221 | + Actions.pop(); | ||
222 | + setTimeout(() => {Actions.pop()}, 0); | ||
223 | + }}] | ||
221 | ); | 224 | ); |
222 | }) | 225 | }) |
223 | .catch((error) => { | 226 | .catch((error) => { |
-
Please register or login to post a comment