@font-face {
font-family: "iconfont";
src: url('https://www.xxxxx.com/font/iconfont.eot?t=1658295806034');
src: url('https://www.xxxxx.com/font/iconfont.eot?t=1658295806034#iefix') format('embedded-opentype'),
url('https://www.xxxxx.com/iconfont.woff2?t=1658295806034') format('woff2'),
url('https://www.xxxxx.com/font/iconfont.woff?t=1658295806034') format('woff'),
url('https://www.xxxxx.com/font/iconfont.ttf?t=1658295806034') format('truetype'),
url('https://www.xxxxx.com/font/iconfont.svg?t=1658295806034#iconfont') format('svg');
}
以上是导入方式
https://blog.csdn.net/zhazhashuai1999/article/details/119798953
这个解决案,亲测有效。但是这个改法,好难受。。。