Fixed #1186 - Error when hidding tab panel using v-if
parent
6ab161680f
commit
563703bb20
|
@ -90,7 +90,7 @@ export default {
|
|||
if (this.isTabPanel(child)) {
|
||||
tabs.push(child);
|
||||
}
|
||||
else if (child.children.length > 0) {
|
||||
else if (child.children && child.children instanceof Array) {
|
||||
child.children.forEach(nestedChild => {
|
||||
if (this.isTabPanel(nestedChild)) {
|
||||
tabs.push(nestedChild)
|
||||
|
|
Loading…
Reference in New Issue