uni-app启动报错,造成白屏,H5端正常,小程序和APP报错Cannot read property 'name' of undefined

原因:

VM54:1 thirdScriptError sdk uncaught third Error Cannot read property 'name' of undefined Type

解决方式:

VM54:1 thirdScriptError sdk uncaught third Error Cannot read property 'name' of undefined Type

uni-app H5端容错率较高,APP端和小程序端语法更严格,报的错误很难定位到问题点,写组件的时候一定要注意给属性声明类型。

相关文章:

  • 2021-12-24
  • 2021-11-27
  • 2021-10-10
  • 2021-09-09
  • 2021-08-28
  • 2021-07-09
猜你喜欢
  • 2021-10-04
  • 2022-12-23
  • 2021-05-05
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
相关资源
相似解决方案