提交 1e06f1da 编写于 作者: P Pan

perf[TagsView]: refine code

上级 aa2eb7d4
......@@ -75,9 +75,10 @@ export default {
let tags = []
routes.forEach(route => {
if (route.meta && route.meta.affix) {
const tagPath = path.resolve(basePath, route.path)
tags.push({
fullPath: path.resolve(basePath, route.path),
path: path.resolve(basePath, route.path),
fullPath: tagPath,
path: tagPath,
name: route.name,
meta: { ...route.meta }
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册