diff --git a/src/layout/components/tags/index.vue b/src/layout/components/tags/index.vue index baf60db..17c9cdf 100644 --- a/src/layout/components/tags/index.vue +++ b/src/layout/components/tags/index.vue @@ -41,7 +41,7 @@ const contextMenuOption = reactive({ watch( () => route.path, () => { - const { name, path } = route + const { name, fullPath: path } = route const title = route.meta?.title tagsStore.addTag({ name, path, title }) },