html js报错怎么改都没用

请问这种该怎么解决呢?


Access to XMLHttpRequest at 'file:///D:/Web3.0%E5%BC%80%E5%8F%91ajaxlonin.json?password=123456&accountName=admin' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, edge, https, chrome-untrusted.

img

请求跨域 或者是请求不到 请求路径不符合
在开发者工具 network 查看

请求跨域 浏览的同源策略 做下反向代理