onLoad: function (options) {
  console.log(options);//从上个页面传递的参数
  wx.setNavigationBarTitle({ title: options.name })      // options.name表示上个页面传过来的文字
},

相关文章:

  • 2021-04-19
  • 2022-12-23
  • 2021-12-23
  • 2021-11-30
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2022-01-21
  • 2021-12-14
相关资源
相似解决方案