From 527efb36f35b471710e445972673abff45bacdac Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期五, 12 九月 2025 17:36:09 +0800 Subject: [PATCH] 401跳转登录 --- 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 c2fa491..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" - @currentChange="handleCurrentChange" @sizeChange="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