Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从 D 中的 html 调用时 getJSON("sample.json") 不起作用:" { "name" : "blah" } getJSON("D:/data/sample_json.json",fun
您将无法使用系统上文件的路径来请求 JSON。很难说这是否是你唯一需要改变的事情。