Trouble fetching local json file

前端 未结 0 1805
温柔的废话
温柔的废话 2020-12-12 07:20

I\'m trying to get back data from a local json file. Here is my js:

const apiURL = "../hoteldata.json";

//Go fetch it and then wait for a response.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题