Empty 空状态

Empty 空状态

何时使用

  • 数据为空时展示占位状态时。

基础用法

暂无数据
<template>
  <Empty description="暂无数据" />
</template>

导入

import { Empty } from "@reglow/reui";

Props

属性类型默认值说明
descriptionstring | VNode内置默认描述文字(也可用同名插槽)
imageEmptyImageType内置插图自定义图片({ url } 或插槽)
imageStyleCSSProperties-图片样式