Fixed #1339 - AccordionTab error with v-if="false"
parent
a8555c3a9f
commit
e1b3ef76d4
|
@ -121,7 +121,7 @@ export default {
|
||||||
if (this.isAccordionTab(child)) {
|
if (this.isAccordionTab(child)) {
|
||||||
tabs.push(child);
|
tabs.push(child);
|
||||||
}
|
}
|
||||||
else if (child.children.length > 0) {
|
else if (child.children instanceof Array) {
|
||||||
child.children.forEach(nestedChild => {
|
child.children.forEach(nestedChild => {
|
||||||
if (this.isAccordionTab(nestedChild)) {
|
if (this.isAccordionTab(nestedChild)) {
|
||||||
tabs.push(nestedChild)
|
tabs.push(nestedChild)
|
||||||
|
|
Loading…
Reference in New Issue