uin-app 运行微信开发工具之后,报 微信小程序报错:Cannot read property ‘forceUpdate’ of undefined

微信小程序报错:Cannot read property ‘forceUpdate’ of undefined

百度之后说是没有给uniapp配置小程序的ID

在项目的根目录下有一个manifest.json的文件(如图)

微信小程序报错:Cannot read property ‘forceUpdate’ of undefined

将自己的微信的appid填进去,然后重启HBuilder 和微信开发者工具,就可以了

相关文章:

  • 2022-12-23
  • 2021-09-01
  • 2021-06-19
  • 2022-12-23
  • 2021-11-30
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-29
  • 2022-12-23
  • 2021-08-22
  • 2021-11-22
  • 2021-12-04
  • 2022-01-15
相关资源
相似解决方案