TypeError:Cannot read property'file'of undefined

pages/xxx/xxx.json 文件解析错误  SyntaxError: Unexpected end of JSON input

报这个错那是因为json里空的,如果没有配置需求,只需要在.json文件里加个 {   }  大括号即可

小程序报错pages/xxx/xxx.json 文件解析错误 SyntaxError: Unexpected end of JSON input

相关文章:

  • 2022-12-23
  • 2021-12-21
  • 2021-12-22
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-09-21
猜你喜欢
  • 2021-12-10
  • 2021-08-07
  • 2021-05-28
  • 2022-12-23
  • 2021-04-08
  • 2022-12-23
相关资源
相似解决方案