Commit 45cd5caf by luyt

fix:修复同一页面多次分享,不会记录多次问题

1 parent 98be9a68
......@@ -240,11 +240,11 @@ const WxConfig = {
onMenuShareAppMessage(params) {
return new Promise(resolve => {
wx.onMenuShareAppMessage({
...params,
success: function () {
resolve()
// 用户点击了分享后执行的回调函数
}
},
...params
})
})
},
......@@ -253,11 +253,11 @@ const WxConfig = {
delete params.desc
return new Promise(resolve => {
wx.onMenuShareTimeline({
...params,
success: function () {
resolve()
// 用户点击了分享后执行的回调函数
}
},
...params
})
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!