🌸 优化 progress 组件结构

This commit is contained in:
就眠儀式
2021-12-07 16:06:36 +08:00
parent 17480a5ba9
commit a365fb30db
6 changed files with 50 additions and 24 deletions

View File

@@ -78,13 +78,16 @@ export default {
<br>
::: describe 在 0.2.4 版本后, 我们支持使用组件化调用方式使用图标, 但你需要安装 `@layui/icons-vue`
::: describe 在 0.2.4 版本后, 图标支持组件化调用方式, 首先你需要安装 `@layui/icons-vue` 依赖
:::
```
npm install @layui/icons-vue
```
::: describe 接下来, 你可以像之前使用组件一样去创建图标。
:::
```vue
<template>
<!-- 组件图标 -->