fix: 修复导航tab过多导致关闭左侧标签页无法正常显示 (#454)

This commit is contained in:
luojz 2023-02-28 17:33:28 +08:00 committed by GitHub
parent 8fc9a4eca6
commit b4456dc71a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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") {