Commit 34ac68a8 by guomingpang

fix:冒烟bug修复

parent 178cdcc4
......@@ -61,7 +61,7 @@ class Authorize extends React.Component {
localStorage.setItem('wechat-common_user_avatar_url',res.result.headImgUrl || 'https://image.xiaomaiketang.com/xm/HsCjyKTbWw.png')
localStorage.setItem('wechat-common_user_open_id',res.result.openId)
localStorage.setItem('wechat-common_user_nick_name',res.result.nickName)
// if(!res.result.whetherOld){
if(!res.result.whetherOld){
//1.审核开关打开,并且新用户第一次登陆,未提交过审核(审核状态为空)跳转提交审核页面
if(res.result.auditSwitch === 'OPEN'&& !res.result.applyStatus ){
window.RCHistory.replace(`/wechat-audit?storeId=${storeId}`);
......@@ -72,7 +72,7 @@ class Authorize extends React.Component {
window.RCHistory.replace(`/wechat-audit-result?storeId=${storeId}`);
return
}
// }
}
this.setState({
hasBindWechat:true,
headImgUrl:res.result.headImgUrl,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment