mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
fix(Table): handle reactive columns (#4412)
This commit is contained in:
@@ -233,7 +233,9 @@ const tableRef = ref<HTMLTableElement | null>(null)
|
||||
const tableApi = useVueTable({
|
||||
...reactiveOmit(props, 'as', 'data', 'columns', 'caption', 'sticky', 'loading', 'loadingColor', 'loadingAnimation', 'class', 'ui'),
|
||||
data,
|
||||
columns: columns.value,
|
||||
get columns() {
|
||||
return columns.value
|
||||
},
|
||||
meta: meta.value,
|
||||
getCoreRowModel: getCoreRowModel(),
|
||||
...(props.globalFilterOptions || {}),
|
||||
|
||||
Reference in New Issue
Block a user