Commit 31e4520a by wangshuo

大礼包去预热页

parent 34c55862
...@@ -19,7 +19,7 @@ class Activity extends Component { ...@@ -19,7 +19,7 @@ class Activity extends Component {
jsCookie.set('blessing_invite_code', getParam('inviteCode'), {domain: '.julyedu.com', expires: 30}); jsCookie.set('blessing_invite_code', getParam('inviteCode'), {domain: '.julyedu.com', expires: 30});
if(cookie.get('uid')) { if(cookie.get('uid')) {
this.setState(()=>({ this.setState(()=>({
butText: '已领取' butText: '已领取,去使用'
})); }));
} }
} }
...@@ -28,8 +28,7 @@ class Activity extends Component { ...@@ -28,8 +28,7 @@ class Activity extends Component {
if(this.props.user.hasError) { if(this.props.user.hasError) {
this.props.history.push('/passport', {from: this.props.location.pathname}); this.props.history.push('/passport', {from: this.props.location.pathname});
} else { } else {
Toast.info('领取成功,你可前往七月在线官网/APP进行查看', 2); this.props.history.push('/blessingPreheat');
localStorage.setItem('lingqu', 1);
} }
} }
......
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