fix: table internal search collspaed configuration does not take effect (#4585)

* fix: table internal search collspaed configuration does not take effect

* chore: typo
This commit is contained in:
Vben
2024-10-07 16:22:57 +08:00
committed by GitHub
parent f0edad8a51
commit ab44926ec8
6 changed files with 27 additions and 18 deletions

View File

@@ -20,6 +20,7 @@ export function useVbenVxeGrid(options: VxeGridProps) {
onBeforeUnmount(() => {
api.unmount();
});
api.setState({ ...props, ...attrs });
return () => h(VxeGrid, { ...props, ...attrs, api: extendedApi }, slots);
},
{