Authored by 于良

修改密码不需要登录 review by yewanwan

@@ -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) => {