问题模块 | 框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|---|
API和组件 | 小程序 | Bug | onShareAppMessage | 客户端 | 7.00 | 2.5.1 |
onShareAppMessage: (res) => {
if (res.from === 'button') {
console.log("来自页面内转发按钮");
console.log(res.target);
}else {
console.log("来自右上角转发菜单")
}
return {
title: '测试图片',
path: '/pages/share/share',
imageUrl: ''
}
},
转发出去 没有显示tittle所描述的内容 desc 也不行 不知道为什么
网友回复
那个很帅的小白:
确认下页面是不是有两个onShareAppMessage
风采五:
求指教