未分類 29 4 月 2020 这种跨域咋解决 就本地调试需要 如下图 这种跨域咋解决 就本地调试需要 如下图 資深大佬 : canxun 59 有偿 大佬有話說 (4) 資深大佬 : codehz 本地调试用 Electron 关闭所有安全机制就可以 資深大佬 : li02 https://chrome.google.com/webstore/search/cors?h1=zh 資深大佬 : superrichman 跑个 nginx,简单点就把把 json 文件放到 nginx 的 html 文件夹里就能用 http://127.0.0.1/waifs-tips.json 访问,复杂点就要自己改 nginx 配置 location 資深大佬 : llb123 “C:UsersUserNameAppDataLocalGoogleChromeApplicationchrome.exe” –disable-web-security –user-data-dir