|
|
@ -72,14 +72,18 @@ const user = { |
|
|
|
setIsLogin(true); |
|
|
|
uni.hideLoading(); |
|
|
|
success(res) |
|
|
|
if (!res.data.userInfo.userName || !res.data.userInfo.userImage || ! |
|
|
|
res.data.userInfo.userTelephone) { |
|
|
|
uni.navigateTo({ |
|
|
|
url: "/pages/login/wxUserInfo" |
|
|
|
}) |
|
|
|
} else { |
|
|
|
uni.navigateBack(-1) |
|
|
|
|
|
|
|
if(loading){ |
|
|
|
if (!res.data.userInfo.userName || !res.data.userInfo.userImage || ! |
|
|
|
res.data.userInfo.userTelephone) { |
|
|
|
uni.navigateTo({ |
|
|
|
url: "/pages/login/wxUserInfo" |
|
|
|
}) |
|
|
|
} else { |
|
|
|
uni.navigateBack(-1) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|