NetBeen

Results 1 comments of NetBeen

我也遇到了同样的问题,当标签里增加了crossorigin 属性后,XSwitch代理失败,反馈错误: Access to script at 'http://127.0.0.1:9000/build/vendor.js' (redirected from 'https://g.alicdn.com/ais-fed/ak-static/3.3.23/vendor.js') from origin 'https://rdc.aliyun.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. (之所以需要增加crossorigin,是为了使用React Errorboundary捕获异常,如果不加crossorigin则无法展示错误信息)