Skip to content

Empty 空状态

tanhaolong edited this page Jan 6, 2022 · 1 revision

介绍

空状态时的占位提示

全局方法:

 <Empty type="empty" text="暂无内容" />

局部方法:

<Empty type="empty" text="暂无内容" />

import { Empty } from 'lxnuoyan-ui';
export default {
  components: {Empty},
};

Empty props

参数 数据类型 默认值 必填 字段名称 备注
text String 暂无内容 文本内容
type String search 显示类型 empty:空数据、search:搜索空数据、error:网络错误
Clone this wiki locally