remove empty-tips replace for center-tips
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# CenterTips 居中提示
|
||||
|
||||
在容器中显示居中提示文案。
|
||||
|
||||
## 基础用法
|
||||
|
||||
:::preview 基础用法 || 默认文案为「没有更多数据」,也可以使用默认插槽
|
||||
|
||||
demo-preview=../demos/center-tips/basic.vue
|
||||
|
||||
:::
|
||||
|
||||
## 何时使用
|
||||
|
||||
默认插槽内容会替换默认文案,可用于放入自定义提示或操作。
|
||||
|
||||
## API
|
||||
|
||||
<api-table name="CenterTips" />
|
||||
@@ -1,19 +0,0 @@
|
||||
# EmptyTips 空状态
|
||||
|
||||
列表或容器无数据时的居中占位文案。
|
||||
|
||||
## 基础用法
|
||||
|
||||
:::preview 基础用法 || 默认文案为「没有更多数据」,可整体替换
|
||||
|
||||
demo-preview=../demos/empty-tips/basic.vue
|
||||
|
||||
:::
|
||||
|
||||
## 何时使用
|
||||
|
||||
列表请求成功但没有数据、或筛选后结果为空时使用。它只负责一行居中文字,需要插图或操作按钮时请自行组合。
|
||||
|
||||
## API
|
||||
|
||||
<api-table name="EmptyTips" />
|
||||
@@ -8,7 +8,7 @@
|
||||
| --- | --- |
|
||||
| [Icon](/components/icon) | 内置 149 个 SVG 图标,支持缩放、着色与禁用态。 |
|
||||
| [Loading](/components/loading) | 四段线动画的加载指示器,可延迟显示并支持内联或铺满两种形态。 |
|
||||
| [EmptyTips](/components/empty-tips) | 列表或容器无数据时的居中占位文案。 |
|
||||
| [CenterTips](/components/center-tips) | 在容器中显示居中提示文案。 |
|
||||
| [Copyright](/components/copyright) | 统一页脚:版权声明、备案号与自定义文案。 |
|
||||
|
||||
## 数据展示
|
||||
|
||||
Reference in New Issue
Block a user