Tencent / tdesign-icons

A mono repo for TDesign Icons
https://tdesign.tencent.com/design/icon
MIT License
49 stars 27 forks source link

[icon] 项目接入微前端报静态资源跨域报错 #84

Open better-pz opened 1 year ago

better-pz commented 1 year ago

tdesign 版本

"@tencent/tdesign-icons-vue": "0.0.4",     "@tencent/tdesign-vue": "0.27.2",

重现链接

No response

重现步骤

使用https://zeroing.jd.com/的微前端框架接入微前端,加载tdesign.gtimg.com资源跨域了 Access to fetch at 'https://tdesign.gtimg.com/icon/0.1.3/fonts/index.js' from origin 'https://my.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

github-actions[bot] commented 1 year ago

👋 @better-pz,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

github-actions[bot] commented 1 year ago

♥️ 有劳 @uyarn 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @better-pz 。

xiaosansiji commented 1 year ago

https://tdesign.tencent.com/vue/components/icon#t-icon%E3%80%81iconfont%E5%92%8Cicon%E4%BD%BF%E7%94%A8%E6%97%B6%E9%83%BD%E4%BC%9A%E5%8F%91%E8%B5%B7%E7%BD%91%E7%BB%9C%E8%AF%B7%E6%B1%82%EF%BC%8C%E6%88%91%E7%9A%84%E9%A1%B9%E7%9B%AE%E6%98%AF%E6%97%A0%E7%BD%91%E7%BB%9C%E5%9C%BA%E6%99%AF%EF%BC%8C%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%EF%BC%9F

image 参考这里

github-actions[bot] commented 1 year ago

👋 @better-pz,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。