...
|
...
|
@@ -200,7 +200,7 @@ export function gotoOnlineService() { |
|
|
|
|
|
export function naviBackAction() {
|
|
|
return (dispatch, getState) => {
|
|
|
ReactNative.NativeModules.YH_UserLogoutHelper.popBackCallBack();
|
|
|
ReactNative.NativeModules.YH_CommonHelper.popBackCallBack();
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -240,9 +240,9 @@ export function fetchUserProfile() { |
|
|
let fetchUserInfo = (uid) => {
|
|
|
return new UserLogoutService(app.host).fetchUserProfile(uid)
|
|
|
.then(json => {
|
|
|
let mobile = json.mobile;
|
|
|
let mobileLength = mobile.length;
|
|
|
if (mobile && mobileLength == 11) {
|
|
|
let hasMobile = json.hasMobile;
|
|
|
if (hasMobile && hasMobile == 'Y') {
|
|
|
dispatch(setValidMobileState(true));
|
|
|
dispatch(setValidMobileState(true));
|
|
|
}else {
|
|
|
dispatch(setValidMobileState(false));
|
...
|
...
|
|