page获取app.js:const app = getApp();

page的js访问全局变量(get/set):const app = getApp(); app.globalData.openid

app.js中访问(get/set):this.globalData

相关文章:

  • 2021-11-01
  • 2021-11-18
  • 2021-09-13
  • 2021-10-01
猜你喜欢
  • 2022-12-23
  • 2022-01-28
  • 2021-11-18
  • 2021-10-20
  • 2022-12-23
  • 2021-08-08
相关资源
相似解决方案