Commit 839c3e67 by xuzhenghua

pull

parent 326d61b9
......@@ -55,7 +55,8 @@ class CollectBlessing extends Component {
};
}
qqToShare = () => {
qqToShare = (e) => {
e.preventDefault();
const { uid, history } = this.props;
if(getParam('version')) {
if(!uid) {
......@@ -70,8 +71,11 @@ class CollectBlessing extends Component {
}
}else {
if(!uid) {
console.log(1,1);
history.push('/passport');
}else {
console.log(2,1);
history.push('/blessingPreheat?utm_source=qq&utm_medium=11&utm_campaign=QQ11&utm_content=11&utm_term=11')
this.fetchUserBlessing(3, () => {
this.handleToAddBlessing(3);
......@@ -287,7 +291,7 @@ class CollectBlessing extends Component {
<a
className="collect-blessing__share-button"
data-type="qq"
onClick={this.qqToShare}
onClick={(e) => this.qqToShare(e)}
></a>
<a
className="collect-blessing__share-button"
......
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