关闭

[Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096

瞎溜达 1年前 ⋅ 112 阅读

浏览器报警告:

[Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://localhost:8080/dist/vendors/simple-line-icons/fonts/Simple-Line-Icons.woff2?v=2.4.0

此警告不影响网站访问,只是由于网速较慢时,加载不到字体,为了不出现空白,chrome浏览器使用默认字体。

应解决方法:如果能直接修改引用相关css文件时,可以直接添加属性:font-dispaly: block;了解有关css4新属性font-display的知识,MDN文档: font-display

 


全部评论: 0

    我有话说: