Merge pull request #3644 from fangd1997/patch-1

fix trim undefined in tooltip.js
pull/3743/head
Tuğçe Küçükoğlu 2023-03-13 12:09:17 +03:00 committed by GitHub
commit c06021099e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ const Tooltip = {
bindEvents(target); bindEvents(target);
} else if (typeof options.value === 'object' && options.value) { } 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); unbindEvents(target);
return; return;
} else { } else {