feat(empty): add imag-size prop (#7389)

This commit is contained in:
neverland
2020-10-22 15:46:05 +08:00
committed by GitHub
parent 3664659240
commit abbf448a43
7 changed files with 38 additions and 9 deletions
+1
View File
@@ -79,6 +79,7 @@ Empty 组件内置了多种占位图片类型,可以在不同业务场景下
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| image | 图片类型,可选值为 `error` `network` `search`,支持传入图片 URL | _string_ | `default` |
| image-size `v2.10.11` | 图片大小,默认单位为 `px` | _number \| string_ | - |
| description | 图片下方的描述文字 | _string_ | - |
### Slots