|
|
@ -75,9 +75,10 @@ export default {
|
|
|
|
let tags = []
|
|
|
|
let tags = []
|
|
|
|
routes.forEach(route => {
|
|
|
|
routes.forEach(route => {
|
|
|
|
if (route.meta && route.meta.affix) {
|
|
|
|
if (route.meta && route.meta.affix) {
|
|
|
|
|
|
|
|
const tagPath = path.resolve(basePath, route.path)
|
|
|
|
tags.push({
|
|
|
|
tags.push({
|
|
|
|
fullPath: path.resolve(basePath, route.path),
|
|
|
|
fullPath: tagPath,
|
|
|
|
path: path.resolve(basePath, route.path),
|
|
|
|
path: tagPath,
|
|
|
|
name: route.name,
|
|
|
|
name: route.name,
|
|
|
|
meta: { ...route.meta }
|
|
|
|
meta: { ...route.meta }
|
|
|
|
})
|
|
|
|
})
|
|
|
|