修改设置tags为全路径

pull/96/head
lin-xin 2018-05-29 11:45:10 +08:00
parent debd824a69
commit 32c184ecbe
1 changed files with 2 additions and 2 deletions

View File

@ -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){