fix: 修复在混合模式下刷新页签后,左侧菜单会消失闪一下的问题 (#543)

Co-authored-by: lixiangpeng <lixiangpeng@tbea.com>
This commit is contained in:
HappyBoy 2023-05-09 22:14:15 +08:00 committed by GitHub
parent b77586da07
commit fd9c19dd00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,7 @@ onBeforeMount(() => {
watch(
() => [route.path, usePermissionStoreHook().wholeMenus],
() => {
if (route.path.includes("/redirect")) return;
getSubMenuData(route.path);
menuSelect(route.path, routers);
}