From e950c38ba82e5e6bc8b0c50c35e5dbb6a180165a Mon Sep 17 00:00:00 2001 From: 13404089107 <puwei@sinata.cn> Date: 星期二, 20 五月 2025 16:43:06 +0800 Subject: [PATCH] Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory --- laboratory/src/components/TableSlot/index.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/laboratory/src/components/TableSlot/index.vue b/laboratory/src/components/TableSlot/index.vue index e4a66ec..381023b 100644 --- a/laboratory/src/components/TableSlot/index.vue +++ b/laboratory/src/components/TableSlot/index.vue @@ -13,7 +13,9 @@ </template> <template v-if="$slots.table"> <Table :data="tableData" :total="total" :height="height" :queryForm="queryForm" - @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"> + @handleCurrentChange="handleCurrentChange" + @handleSizeChange="handleSizeChange" + @selection-change="handleSelectionChange"> <slot name="table"></slot> </Table> </template> @@ -60,6 +62,9 @@ }, handleSizeChange(size) { this.$emit('handleSizeChange', size) + }, + handleSelectionChange(selection) { + this.$emit('selection-change', selection) } } } -- Gitblit v1.7.1