You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
参考 https://docs.taro.zone/docs/apis/ui/fonts/loadFontFace/ 上针对字体加载的方式
以及在App.less上采用@font-face的方式加载字体的ttf文件
在页面效果上字体的效果一直显示不出来,且使用Taro.loadFontFace来加载连complete日志都未被输出。
而在控制台,ttf的query请求在微信开发者工具上也是时有时无的
基础库排查了,是3.7.2;缓存清除过了,字体也有,用的是vx小程序官方提供的一个字体
在h5字体效果是能加载出来的,但是vx小程序中就是不行,想请教下这是一个怎么导致的呢?
Beta Was this translation helpful? Give feedback.
All reactions