第七百一十八章 出线形势(8/8)
}}})},cancel:function(){//用户取消分享后执行的回调函数console.
log('cancel');
}};
wx.
onmenushareappmessage(sharedata);
wx.
onmenushareappmessage(sharedata);
wx.
onmenushareqq(sharedata);
wx.
onmenushareweibo(sharedata);
wx.
onmenushareqzone(sharedata);
//分享到朋友圈时只有标题,所这里拼接一下varcopy_sharedate={};
$.
extend(copy_sharedate,sharedata);
copy_sharedate.
title=copy_sharedate.
title""copy_sharedate.
desc;
wx.
onmenusharetimeline(copy_sharedate);
});
wx.
error(function(res){//hg_toast(res.
errmsg);
//打印错误消息。
及把debug:false,设置为debug:ture就可以直接在网页上看到弹出的错误提示});
}}});
}}