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
-
在Android真机调试时发现icon不显示
以下是开发者工具上的效果,是正常的
我的真机是小米10 pro
尝试了多种办法。并不是网上说的Android不支持woff2,也不是不支持网络加载。而是显示图标的容器没有应用vant-icon字体。
修改
miniprogram_npm/@vant/weapp/icon/index.wxss
中的代码。将.van-icon:before
中增加font-family:vant-icon
即可Beta Was this translation helpful? Give feedback.
All reactions