This commit is contained in:
laurenting 2021-04-24 01:38:19 +00:00 committed by GitHub
commit f70afa34fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ export default {
})
}
if (route.children) {
const tempTags = this.filterAffixTags(route.children, route.path)
const tempTags = this.filterAffixTags(route.children, path.resolve(basePath, route.path))
if (tempTags.length >= 1) {
tags = [...tags, ...tempTags]
}

View File

@ -42,7 +42,7 @@ const nestedRouter = {
path: 'menu1-2-2',
component: () => import('@/views/nested/menu1/menu1-2/menu1-2-2'),
name: 'Menu1-2-2',
meta: { title: 'Menu 1-2-2' }
meta: { title: 'Menu 1-2-2', affix: true }
}
]
},