[new feature] Icon: size prop support number type

This commit is contained in:
陈嘉涵
2019-05-04 16:41:01 +08:00
parent b644c91383
commit ca020f3214
8 changed files with 29 additions and 7 deletions

View File

@@ -41,8 +41,8 @@ Vue.use(Loading);
|------|------|------|------|------|
| color | 颜色 | `String` | `#c9c9c9` | - |
| type | 类型,可选值为 `spinner` | `String` | `circular` | - |
| size | 加载图标大小 | `String | Number` | `30px` | - |
| text-size | 文字大小 | `String | Number` | `14px` | 2.0.0 |
| size | 加载图标大小,默认单位为`px` | `String | Number` | `30px` | - |
| text-size | 文字大小,默认单位为`px` | `String | Number` | `14px` | 2.0.0 |
| vertical | 是否垂直排列图标和文字内容 | `Boolean` | `false` | 2.0.0 |
### Slots