使用html2canvas出现图片文件跨域问题。对于跨域配置中也已经加了对应域名
提示错误如下:
Access to image at 'https://mp-056fd598-c5d5-478e-8df4-d68391c10e2f.cdn.bspapp.com/2023/08/02/44187418-62311155-0.jpg' from origin 'http://yqd.nj025.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
index-176939c8.js:309 GET https://mp-056fd598-c5d5-478e-8df4-d68391c10e2f.cdn.bspapp.com/2023/08/02/44187418-62311155-0.jpg net::ERR_FAILED
冰水瓶
- 发布:2023-08-03 21:30
- 更新:2023-08-04 14:26
- 阅读:447