diff --git a/src/layout/components/tag/index.vue b/src/layout/components/tag/index.vue index dd95e4ffa..423ab901c 100644 --- a/src/layout/components/tag/index.vue +++ b/src/layout/components/tag/index.vue @@ -193,13 +193,13 @@ function deleteDynamicTag(obj: any, current: any, tag?: string) { ): void => { if (other) { useMultiTagsStoreHook().handleTags("equal", [routerArrays[0], obj]); - dynamicTagView(); } else { delAliveRouteList = useMultiTagsStoreHook().handleTags("splice", "", { startIndex, length }) as any; } + dynamicTagView(); }; if (tag === "other") {