mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Tooltip: fix getFirstElement (#21886)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user