From 6277393153203b40ddcff1b5bdde985acaf53c9d Mon Sep 17 00:00:00 2001 From: Rui-Sun Date: Tue, 19 Nov 2024 11:17:05 +0800 Subject: [PATCH] fix: fix isShowOverflowTextTooltip function --- packages/vtable/src/components/tooltip/TooltipHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vtable/src/components/tooltip/TooltipHandler.ts b/packages/vtable/src/components/tooltip/TooltipHandler.ts index 388842adb..00f50b2b1 100644 --- a/packages/vtable/src/components/tooltip/TooltipHandler.ts +++ b/packages/vtable/src/components/tooltip/TooltipHandler.ts @@ -204,7 +204,7 @@ export class TooltipHandler { }; } else if ( (isFunction(table.internalProps.tooltip?.isShowOverflowTextTooltip) && - table.internalProps.tooltip.isShowOverflowTextTooltip(col, row, table)) || + table.internalProps.tooltip.isShowOverflowTextTooltip(col, row, table)) ?? table.internalProps.tooltip.isShowOverflowTextTooltip ) { const overflowText = table.getCellOverflowText(col, row);