diff --git a/docs/docs/zh-CN/components/table.md b/docs/docs/zh-CN/components/table.md
index 0c8bc194..db19b086 100644
--- a/docs/docs/zh-CN/components/table.md
+++ b/docs/docs/zh-CN/components/table.md
@@ -121,4 +121,65 @@ export default {
}
+:::
+
+::: demo
+
+
+
+
+ 新增
+ 删除
+
+ {{data.username}}
+ {{data.password}}
+
+ 修改
+ 删除
+
+
+
+
+
+
:::
\ No newline at end of file
diff --git a/src/module/table/index.vue b/src/module/table/index.vue
index 181894f7..36e897d3 100644
--- a/src/module/table/index.vue
+++ b/src/module/table/index.vue
@@ -5,6 +5,11 @@
class="layui-form layui-border-box layui-table-view layui-table-view-1"
>
@@ -130,7 +140,7 @@ const emit = defineEmits(['change'])
const slot = useSlots()
const slots = slot.default && slot.default()
-const change = function(page: any){
- emit('change',page)
+const change = function (page: any) {
+ emit('change', page)
}
\ No newline at end of file