bugfix 修复子菜单选中时,父菜单也高亮的问题

(cherry picked from commit db106834a7)
This commit is contained in:
YunaiV 2024-02-29 23:37:25 +08:00 committed by shizhong
parent 4e1cd96ca7
commit 3447d260b7
2 changed files with 1 additions and 2 deletions

View File

@ -149,7 +149,6 @@ $prefix-cls: #{$namespace}-menu;
}
//
.#{$elNamespace}-sub-menu.is-active,
.#{$elNamespace}-menu-item.is-active {
color: var(--left-menu-text-active-color) !important;
background-color: var(--left-menu-bg-active-color) !important;

View File

@ -1,5 +1,5 @@
import { defineStore } from 'pinia'
import { store } from '../index'
import { store } from '@/store'
import { cloneDeep } from 'lodash-es'
import remainingRouter from '@/router/modules/remaining'
import { flatMultiLevelRoutes, generateRoute } from '@/utils/routerHelper'