关于iPhone转发的问题
关于转发的问题,在安卓的button和menu均正常,在IOS的menu中也正常,但到了ios的button则出现有执行onShareAppMessage函数,return后设备假死。
wsml:
<button class=‘jump’ open-type=‘share’ bindtap=‘back’>分享</button>
js:
onShareAppMessage: function (res) {
if (res.from === ‘button’) {
console.log(res.target)
}
return {
title: title,
imageUrl: ‘https:’ + image,
path: ‘pages/jumpprogram/jumpprogram?she=“2”&goods_id=’ + goods_id + ‘&weshop_id=’ + weshop_id
}
}
所有参数均正常,console无报错
测试环境:远程调试环境
2 回复