From 53d3950b188208e3155ad95668c896dc7c1d00eb Mon Sep 17 00:00:00 2001 From: fangd1997 <58019876+fangd1997@users.noreply.github.com> Date: Thu, 9 Feb 2023 11:59:52 +0800 Subject: [PATCH] fix trim undefined in tooltip.js --- components/tooltip/Tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tooltip/Tooltip.js b/components/tooltip/Tooltip.js index 67e3dc188..8824b8971 100755 --- a/components/tooltip/Tooltip.js +++ b/components/tooltip/Tooltip.js @@ -366,7 +366,7 @@ const Tooltip = { bindEvents(target); } else if (typeof options.value === 'object' && options.value) { - if (ObjectUtils.isEmpty(options.value.value || options.value.value.trim() === '')) { + if (ObjectUtils.isEmpty(options.value.value) || options.value.value.trim() === '') { unbindEvents(target); return; } else {