fix: fix isShowOverflowTextTooltip function

This commit is contained in:
Rui-Sun 2024-11-19 11:17:05 +08:00
parent d9363c91b4
commit 6277393153

View File

@ -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);