小程序转发设置不生效
发布于 5 年前 作者 mjia 7836 次浏览 来自 问答

未上线的小程序,使用下面的代码,转发出去标题没有改变

 

Page({  onShareAppMessage: function (res) {    

     if (res.from === ‘button’) {      // 来自页面内转发按钮

     console.log(res.target)    }    return {      title: ‘测试标题’,      path: ‘/page/hot/hot’,      success: function(res) {        // 转发成功

        console.log(res);

     },      fail: function(res) {        // 转发失败

        console.log(‘error’, res);

      }
    }
  }
})

下面是调试的结果图

4 回复

同样的问题。。。。emmmmm

问题依然存在,等官方修复

修改好了么 ? 请问是怎么修改的?

同样的问题

回到顶部