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 (