空状态 Empty
空状态组件的基本用法。
自定义图片和文案
Section titled “自定义图片和文案”通过 image 插槽自定义图标、图片,或通过内容修改文案。
<empty> Props
Section titled “<empty> Props”| 参数名 | 描述 | 类型 | 默认值 | 版本 |
|---|---|---|---|---|
| description | 描述内容 | string | - | |
| img-src | 自定义图片的地址 | string | - | |
| in-config-provider | 是否在 ConfigProvider 中使用 | boolean | false | 2.47.0 |
<empty> Slots
Section titled “<empty> Slots”| 插槽名 | 描述 | 参数 |
|---|---|---|
| image | 图片/图标 | - |