From 55b3519f8a3c847c0c4bd9490e1dc24eb3fefa5a Mon Sep 17 00:00:00 2001
From: kailong321200875 <321200875@qq.com>
Date: Sun, 10 Dec 2023 09:33:28 +0800
Subject: [PATCH] release: 2.5.1
---
.vitepress/config.js | 4 ++++
components/button.md | 21 +++++++++++++++++++++
components/table.md | 7 ++++++-
3 files changed, 31 insertions(+), 1 deletion(-)
create mode 100644 components/button.md
diff --git a/.vitepress/config.js b/.vitepress/config.js
index b0456dd4..13aff1ae 100644
--- a/.vitepress/config.js
+++ b/.vitepress/config.js
@@ -221,6 +221,10 @@ function createSidebar() {
text: 'Permission 权限组件(2.1.0+)',
link: '/components/permission',
},
+ {
+ text: 'BaseButton 按钮组件(2.5.1+)',
+ link: '/components/button',
+ },
],
},
{
diff --git a/components/button.md b/components/button.md
new file mode 100644
index 00000000..e3904b15
--- /dev/null
+++ b/components/button.md
@@ -0,0 +1,21 @@
+# BaseButton 按钮组件
+
+二次封装 `ElButton` ,支持修改主题色
+
+BaseButton 组件位于 [src/components/Button](https://github.com/kailong321200875/vue-element-plus-admin/tree/master/src/components/Button) 内
+
+BaseButton 已经全局引入,无需在手动引入
+
+
+### 基本用法
+
+```vue
+
+ Add
+
+
+```
+
+## BaseButton 属性
+
+支持 `ElButton` 的所有属性
diff --git a/components/table.md b/components/table.md
index b800596d..1bdf2550 100644
--- a/components/table.md
+++ b/components/table.md
@@ -246,7 +246,12 @@ const { tableRegister, tableState, tableMethods } = useTable(props: UseTableConf
| headerAlign | 表头对齐方式 | `string` | `left`/`center`/`right` | left |
| data | 表格数据 | `Recordable[]` | - | [] |
| showAction | 是否显示表格操作 | `boolean` | - | false |
-| preview | 需要展示图片的字段 | `string[]` | - | - |
+| preview | 需要展示图片或者视频的字段 | `string[]` | - | - |
+| customContent | 是否自定义内容 | `boolean` | - | false |
+| cardBodyStyle | 卡片内容样式 | `CSSProperties` | - | - |
+| cardBodyClass | 卡片内容类名 | `string` | - | - |
+| cardWrapStyle | 卡片容器样式 | `CSSProperties` | - | - |
+| cardWrapClass | 卡片容器类名 | `string` | - | - |
### Columns