请问 我在JS里添加了转发功能 但是发布以后还是不显示!

发布于 7 年前作者 maoxiuying6064 次浏览最后编辑 7 年前来自 ask

onShareAppMessage: function (res) {

if (res.from === ‘button’) {

// 来自页面内转发按钮

console.log(res.target)

}

return {

title: '转发标题,// 转发的标题

path: ‘/page/map/index’,// 我转发的路径

success: function (res) {

// 转发成功

},

fail: function (res) {

// 转发失败

}

}

},

1 回复
ming71
ming711 楼5 年前

大神们过年好!求解答啊