uniShare(type) {
let that = this
this.closeShare()
this.submitsuessc(type)
uni.share({
provider: "weixin",
scene: type === 1 ? "WXSceneSession" : "WXSceneTimeline",
type: 0,
href: that.WXdata.href,
title: that.WXdata.title,
summary: that.WXdata.summary,
imageUrl: that.WXdata.imageUrl,
success: function(res) {
console.log(res, 155)
},
fail: function(err) {
alert(err)
alert(JSON.stringify(err))
console.log("fail:" + JSON.stringify(err));
}
});
0 个回复