1.报错截图:

微信小程序报错:navigationBarBackgroundColor:is not hexColor的解决方法

2.错误原因:navigationBarBackgroundColor只支持十六进制颜色码方式的显示,不支持其他方式的显示。官网说明如下:

微信小程序报错:navigationBarBackgroundColor:is not hexColor的解决方法

3.解决方法:用shift+ctrl+F快捷键搜索项目中所有的含有navigationBarBackgroundColor的文件,把navigationBarBackgroundColor改为十六进制颜色码方式的显示

微信小程序报错:navigationBarBackgroundColor:is not hexColor的解决方法

相关文章:

  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2023-03-14
  • 2021-09-20
  • 2021-08-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-12-11
  • 2021-09-14
  • 2021-11-17
相关资源
相似解决方案