小程序转发参数 title 没有显示
发布于 6 年前 作者 qiang03 3433 次浏览 来自 问答

onShareAppMessage: (res) => {

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

        console.log(“来自页面内转发按钮”);

        console.log(res.target);

    }else {

        console.log(“来自右上角转发菜单”)

    }

    return {

    title: ‘测试图片’,

    path: ‘/pages/share/share’,

    imageUrl: ‘’

    }

},

转发出去 没有显示tittle所描述的内容  desc 也不行  不知道为什么

2 回复

确认下页面是不是有两个onShareAppMessage

回到顶部