...
|
...
|
@@ -69,10 +69,12 @@ $.ajax({ |
|
|
});
|
|
|
|
|
|
module.exports = (shareData) => {
|
|
|
window.wx.ready(function() {
|
|
|
window.wx.onMenuShareAppMessage(shareData);
|
|
|
window.wx.onMenuShareTimeline(shareData);
|
|
|
window.wx.onMenuShareQQ(shareData);
|
|
|
window.wx.onMenuShareWeibo(shareData);
|
|
|
});
|
|
|
if (window.wx) {
|
|
|
window.wx.ready(function() {
|
|
|
window.wx.onMenuShareAppMessage(shareData);
|
|
|
window.wx.onMenuShareTimeline(shareData);
|
|
|
window.wx.onMenuShareQQ(shareData);
|
|
|
window.wx.onMenuShareWeibo(shareData);
|
|
|
});
|
|
|
}
|
|
|
}; |
...
|
...
|
|