diff --git a/src/components/common/Tags.vue b/src/components/common/Tags.vue index fe7e3ee7ac2848ddbc7ec2092ee954b1feada82c..38fa17ee943d40489979c30fd6c210bf80a1450f 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){