Skip to content

Commit

Permalink
refactor(projects)!: don't reset active menu of vertical-mix layout w…
Browse files Browse the repository at this point in the history
…hen it is mixSiderFixed
  • Loading branch information
honghuangdc committed Jul 31, 2024
1 parent 3f23993 commit 939c512
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ function handleSelectMixMenu(menu: App.Global.Menu) {
}
function handleResetActiveMenu() {
getActiveFirstLevelMenuKey();
setDrawerVisible(false);
if (!appStore.mixSiderFixed) {
getActiveFirstLevelMenuKey();
}
}
const selectedKey = computed(() => {
Expand Down

0 comments on commit 939c512

Please sign in to comment.