Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
在老版本中icon的加载方式似乎是通过
@font-face{
src:url(//at.alicdn.com/t/c/font_2553510_ciljc7axaw7.woff?t=1705587463221) format("woff")
}
这样实现的,这种通过外部资源加载的方式在内网运行的项目中是无法加载的
在4版本之后,便改为本地svg加载,通过这样
@font-face{
src:url(data:font/woff2;charset=utf-8;base64,....),url(//at.alicdn.com/t/c/font_2553510_ciljc7axaw7.woff?t=1705587463221) format("woff")
}
不知为何在后面仍然跟上了外部链接,是否本地svg加载会出现什么问题吗
我现在遇到的问题是,项目安全性校验无法通过,因为在代码中发现了引用外部资源链接,而这被视为一种风险
请问有什么解决办法吗?
Beta Was this translation helpful? Give feedback.
All reactions