Access to XMLHttpRequest at ‘file:///E:/%E5%89%8D%E7%AB%AF/echarts/online-retailers-master/wd/json/map/china.json’ 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.跨域问题解决办法
在vs code上下载Live Server插件,然后回到代码页,右键点击“open with live server”