getShareInfo:fail data unknow error code iPhone11 系统13.6 微信版本7.0.21
onShow: function (options) {
let that = this
if (options && options.scene == 1044) {
if (options.shareTicket) {
wx.login({
success: function (res) {
if(res.code){
wx.getShareInfo({
shareTicket: options.shareTicket,
success: function (res) {
},
fail: function (res) {
wx.showModal({
title: '提示',
content: 'getShareInfofail:'+ res.errMsg,
confirmText: "确定",
})
}
});
}
},
fail: function (res) {
}
});
}
}
},
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。