Skip to content

Commit e406f96

Browse files
committed
docs(Icon): add FAQ
1 parent 0a9f05f commit e406f96

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

packages/components/icon/README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ isComponent: true
2020
}
2121
```
2222

23-
## 常见问题
24-
25-
<details>
26-
<summary>
27-
控制台告警:Failed to load font
28-
<span class="icon">👇</span>
29-
</summary>
30-
<p style="margin-top: 10px; color: rgba(0, 0, 0, .6)">
31-
告警属于开发者工具的 bug,可以忽略,具体可以看 <a href="https://developers.weixin.qq.com/miniprogram/dev/api/ui/font/wx.loadFontFace.html" target="_blank">官网文档</a>
32-
</p>
33-
</details>
34-
3523
## 代码演示
3624

3725
<a href="https://developers.weixin.qq.com/s/7OxuPMmW8X5w" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
@@ -90,6 +78,10 @@ isComponent: true
9078

9179
## FAQ
9280

81+
### 控制台告警:Failed to load font
82+
83+
告警属于开发者工具的 bug,可以忽略,具体可以看 <a href="https://developers.weixin.qq.com/miniprogram/dev/api/ui/font/wx.loadFontFace.html" target="_blank">官网文档</a>
84+
9385
#### 如何使用多色图标?
9486

9587
请安装 `@mp-svg-icons/wechat`,已包含 TDesign 所有图标,支持 `任意的粗细调整``最多四种颜色填充` 功能,零依赖运行,支持无网络场景,具有更好的使用体验。

0 commit comments

Comments
 (0)