我被错误缠住了。我想从获取地震数据,然后在谷歌地图上设置坐标。在控制台日志中返回json数据很好,但当我运行应用程序ERROR Error: Uncaught (in promise): SyntaxError: Unexpected token u in JSONat position 0时l出现错误export class HomePage implements OnInit {
protected points: { lng:
我得到了这个错误 VM305:1 Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 我也不知道为什么我的json数据: [ "id": 1, "distributor": "20th Century Fox",
"year"