diff --git a/packages/vue-app/template/utils.js b/packages/vue-app/template/utils.js index 485ea2f67b..808643886b 100644 --- a/packages/vue-app/template/utils.js +++ b/packages/vue-app/template/utils.js @@ -112,7 +112,7 @@ export async function getRouteData(route) { return { ...route, meta: getMatchedComponents(route).map((Component, index) => { - return { ...Component.options.meta, ...(index ? {} : route.meta) } + return { ...Component.options.meta, ...(route.matched[index] || {}).meta } }) } }