diff --git a/src/icon/README.md b/src/icon/README.md index 4e6f0f7b7..0e47d983e 100644 --- a/src/icon/README.md +++ b/src/icon/README.md @@ -57,6 +57,8 @@ Icon uses font file in `yzcdn.cn` by default,if you want to use the local font import 'vant/lib/icon/local.css'; ``` +> Tips: Starting from version 2.10.13, Vant will use local font files in woff2 format by default + ### Add custom iconfont ```css diff --git a/src/icon/README.zh-CN.md b/src/icon/README.zh-CN.md index ceb995f7a..aa14214a1 100644 --- a/src/icon/README.zh-CN.md +++ b/src/icon/README.zh-CN.md @@ -59,7 +59,7 @@ Icon 组件默认引用有赞 CDN 提供的字体文件,并通过网络下载 import 'vant/lib/icon/local.css'; ``` -> Tips: 从 2.10.13 版本开始,Vant 会默认使用 woff2 格式的本地字体文件,只有在不支持 woff2 字体的低端浏览器才会加载有赞 CDN 的网络图标。 +> Tips: 从 2.10.13 版本开始,Vant 会默认使用 woff2 格式的本地字体文件,只有在不支持 woff2 字体的低端浏览器上才会加载有赞 CDN 的网络图标。 ### 自定义图标