ElemeFE / ElemeFE/element

[Bug Report] 图标在谷歌浏览器偶尔会加载不出来

Open
#23,088 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.14

### OS/Browsers version
win10,谷歌浏览器137.0.7151.69

### Vue version
2.7.16

### Reproduction Link
https://elementui.github.io/issue-generator/#/zh-CN

### Steps to reproduce
element UI项目打包后的
@font-face {
font-family: element-icons;
src: url(../../static/fonts/element-icons.535877f5.woff) format("woff"),url(../../static/fonts/element-icons.732389de.ttf) format("truetype");
font-weight: 400;
font-display: "auto";
font-style: normal
}
使用浏览器默认的加载方式可能会出现加载不出来的情况。需要清缓存才可正常显示图标

### What is Expected?
font-display: "auto";改为 font-display: "block";

### What is actually happening?
font-display: "auto";

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.