From 1e0cefa786022fab5a14753e2bcd51591dafdc30 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 20 May 2023 15:49:17 +0800 Subject: [PATCH] fix: table not work --- components/table/Table.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/table/Table.tsx b/components/table/Table.tsx index 4e38051ef..707220f74 100644 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -701,18 +701,18 @@ const Table = defineComponent({ customFilterDropdown?: any; default: any; }>, - setup(_props, { attrs, slots, expose }) { + setup(props, { attrs, slots, expose }) { const table = ref(); expose({ table, }); return () => { - const props = attrs as TableProps; const columns = props.columns || convertChildrenToColumns(slots.default?.()); return (