diff --git a/src/components/accordion/Accordion.vue b/src/components/accordion/Accordion.vue index d429df16a..b5c127fb5 100755 --- a/src/components/accordion/Accordion.vue +++ b/src/components/accordion/Accordion.vue @@ -121,7 +121,7 @@ export default { if (this.isAccordionTab(child)) { tabs.push(child); } - else if (child.children.length > 0) { + else if (child.children instanceof Array) { child.children.forEach(nestedChild => { if (this.isAccordionTab(nestedChild)) { tabs.push(nestedChild)