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 + + + + + ::: \ 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" >
+
+
+ +
+
@@ -71,7 +76,6 @@ @@ -109,7 +112,14 @@
- +
@@ -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