From 3447d260b70334c70664772c12ab6de0a2cf433f Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 29 Feb 2024 23:37:25 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=20=E4=BF=AE=E5=A4=8D=E5=AD=90=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E9=80=89=E4=B8=AD=E6=97=B6=EF=BC=8C=E7=88=B6=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E4=B9=9F=E9=AB=98=E4=BA=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit db106834a7f56e5b6a755a92070e6e253ba3f825) --- src/layout/components/Menu/src/Menu.vue | 1 - src/store/modules/permission.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/layout/components/Menu/src/Menu.vue b/src/layout/components/Menu/src/Menu.vue index 7254b735..466cca50 100644 --- a/src/layout/components/Menu/src/Menu.vue +++ b/src/layout/components/Menu/src/Menu.vue @@ -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; diff --git a/src/store/modules/permission.ts b/src/store/modules/permission.ts index 7406fa36..5e3287a7 100644 --- a/src/store/modules/permission.ts +++ b/src/store/modules/permission.ts @@ -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'