VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961
    at JSON.parse (<anonymous>)
    at XMLHttpRequest.xhr.onreadystatechange

报错图(提示第31行有问题):

VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961 at JSON.parse

VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961 at JSON.parse

报错原因:

最后发现是json文件中有引号错误(可能是不小心按到的),把引号去掉就好了

VM158:19 Uncaught SyntaxError: Unexpected token s in JSON at position 961 at JSON.parse

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2021-05-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-13
  • 2021-05-09
  • 2021-10-24
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案