fix[TagsView]: fixed refresh affixed-tag bug (#1653)

This commit is contained in:
kaisawind 2019-03-01 18:44:37 +08:00 committed by 花裤衩
parent c2495545a5
commit 6255f54f41
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ export default {
routes.forEach(route => { routes.forEach(route => {
if (route.meta && route.meta.affix) { if (route.meta && route.meta.affix) {
tags.push({ tags.push({
fullPath: path.resolve(basePath, route.path),
path: path.resolve(basePath, route.path), path: path.resolve(basePath, route.path),
name: route.name, name: route.name,
meta: { ...route.meta } meta: { ...route.meta }