diff --git a/client/packages/lowcoder/src/comps/comps/tableComp/tableToolbarComp.tsx b/client/packages/lowcoder/src/comps/comps/tableComp/tableToolbarComp.tsx index 2969e3c46..6b6f619ef 100644 --- a/client/packages/lowcoder/src/comps/comps/tableComp/tableToolbarComp.tsx +++ b/client/packages/lowcoder/src/comps/comps/tableComp/tableToolbarComp.tsx @@ -793,18 +793,15 @@ export const TableToolbar = memo(function TableToolbar(props: { const handleDownload = useCallback(() => { onDownload(); - onEvent("download"); - }, [onDownload, onEvent]); + }, [onDownload]); const handleSaveChanges = useCallback(() => { onSaveChanges(); - onEvent("saveChanges"); - }, [onSaveChanges, onEvent]); + }, [onSaveChanges]); const handleCancelChanges = useCallback(() => { onCancelChanges(); - onEvent("cancelChanges"); - }, [onCancelChanges, onEvent]); + }, [onCancelChanges]); const handleColumnFilterChange = useCallback((filters: TableFilterDataType[], stackType: TableFilter["stackType"]) => { if (