提交 32c184ec 编写于 作者: L lin-xin

修改设置tags为全路径

上级 debd824a
......@@ -58,11 +58,11 @@
// 设置标签
setTags(route){
const isExist = this.tagsList.some(item => {
return item.path === route.path;
return item.path === route.fullpath;
})
!isExist && this.tagsList.push({
title: route.meta.title,
path: route.path
path: route.fullpath
})
},
handleTags(command){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册