<a-table :locale="locale" ></a-table>
// 自定义空数据提示信息 start
const locale = ref<any>({
emptyText: h(Empty, {
description: "暂未添加任何账号",
image: Empty.PRESENTED_IMAGE_SIMPLE,
imageStyle: { height: "40px" },
}),
});
// 自定义空数据提示信息 end
<a-table :locale="locale" ></a-table>
// 自定义空数据提示信息 start
const locale = ref<any>({
emptyText: h(Empty, {
description: "暂未添加任何账号",
image: Empty.PRESENTED_IMAGE_SIMPLE,
imageStyle: { height: "40px" },
}),
});
// 自定义空数据提示信息 end