chore: update

This commit is contained in:
xiaoxian521 2024-04-09 14:54:49 +08:00
parent 27a0b6fda7
commit 375368a119

View File

@ -178,10 +178,14 @@ function handleAsyncRoutes(routeList) {
); );
usePermissionStoreHook().handleWholeMenus(routeList); usePermissionStoreHook().handleWholeMenus(routeList);
} }
if (!useMultiTagsStoreHook().getMultiTagsCache) {
useMultiTagsStoreHook().handleTags("equal", [ useMultiTagsStoreHook().handleTags("equal", [
...routerArrays, ...routerArrays,
...usePermissionStoreHook().flatteningRoutes.filter(v => v?.meta?.fixedTag) ...usePermissionStoreHook().flatteningRoutes.filter(
v => v?.meta?.fixedTag
)
]); ]);
}
addPathMatch(); addPathMatch();
} }