From 32c184ecbe3244aa619d47c7495ffc6227d11839 Mon Sep 17 00:00:00 2001 From: lin-xin <2981207131@qq.com> Date: Tue, 29 May 2018 11:45:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AEtags?= =?UTF-8?q?=E4=B8=BA=E5=85=A8=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Tags.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/Tags.vue b/src/components/common/Tags.vue index fe7e3ee..38fa17e 100644 --- a/src/components/common/Tags.vue +++ b/src/components/common/Tags.vue @@ -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){ -- GitLab