diff --git a/docs/src/components/PageNavigation/index.vue b/docs/src/components/PageNavigation/index.vue index 1590fbd1..c5549552 100644 --- a/docs/src/components/PageNavigation/index.vue +++ b/docs/src/components/PageNavigation/index.vue @@ -44,15 +44,12 @@ export default { this.items.forEach(({ title, link, items }) => { flattenedItems.push({ title, - link + link, }) if (items) { - items.forEach(({ title, link }) => { - flattenedItems.push({ - title, - link - }) + items.forEach(child => { + flattenedItems.push(child) }) } })