wx7534c96a1e26b280 |
onShareAppMessage: function () {
this.getVisitToken();
return {
title: "您好,我是" + this.data.user.Name + ",这是我的微信名片,请您惠存", // 转发标题(默认:当前小程序名称)
path: '/pages/Personalinformation/Personalinformation?id=' + this.data.user.VisitKey + '&visitToken=' + visitToken, // 转发路径(当前页面, path ),必须是以 / 开头的完整路径
success(e) {
wx.showShareMenu({
withShareTicket: true
});
},
fail(e) { },
complete() { }
}
},
最终的path:/pages/Personalinformation/Personalinformation?id=ffeadb2a-3c6c-4ee9-bcf0-0d9a635615e3&visitToken=5e27e582-de48-4fdd-9939-eccae1654b11
再ios和模拟器下面都正常,只有android会出现崩溃现象