调用JSON时出现此错误。我不知道为什么会发生这个错误。 console.log(data);错误:
Access to XMLHttpRequest at (this is JSON URL) from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, h