diff --git a/src/layout/components/tag/index.vue b/src/layout/components/tag/index.vue index be853cf6d..87f6c72ba 100644 --- a/src/layout/components/tag/index.vue +++ b/src/layout/components/tag/index.vue @@ -143,7 +143,7 @@ function dynamicRouteTag(value: string): void { function concatPath(arr: object[], value: string) { if (!hasValue) { arr.forEach((arrItem: any) => { - if (arrItem.path === value || arrItem.path === value) { + if (arrItem.path === value) { useMultiTagsStoreHook().handleTags("push", { path: value, meta: arrItem.meta,