解决方法:

  在组件中加上options选项

Component({
  options: {
    addGlobalClass: true
  }
})

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-12-15
  • 2022-12-23
  • 2021-10-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2022-01-11
  • 2021-09-18
  • 2021-12-03
  • 2021-04-09
相关资源
相似解决方案