Tooltip: fix getFirstElement (#21886)

pull/21902/head
zhankang 2022-06-02 17:30:31 +08:00 committed by GitHub
parent a2b7304685
commit f0b3f9228c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ export default {
for (let index = 0; index < slots.length; index++) {
if (slots[index] && slots[index].tag) {
element = slots[index];
break;
};
}
return element;