fix trim undefined in tooltip.js

pull/3644/head
fangd1997 2023-02-09 11:59:52 +08:00 committed by GitHub
parent a40bf84db2
commit 53d3950b18
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);
} 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 {