diff --git a/ui/src/layout/components/app-main/index.vue b/ui/src/layout/components/app-main/index.vue index 454ab8b87..61cb19886 100644 --- a/ui/src/layout/components/app-main/index.vue +++ b/ui/src/layout/components/app-main/index.vue @@ -14,7 +14,6 @@ import { useRoute } from 'vue-router' const route = useRoute() const cachedViews: any = ref([]) - onBeforeUpdate(() => { let isCached = route.meta?.cache let name = route.name diff --git a/ui/src/layout/components/sidebar/SidebarItem.vue b/ui/src/layout/components/sidebar/SidebarItem.vue index ca5a9f025..cdc2dc992 100644 --- a/ui/src/layout/components/sidebar/SidebarItem.vue +++ b/ui/src/layout/components/sidebar/SidebarItem.vue @@ -31,6 +31,10 @@ defineProps<{ padding: 13px 12px 13px 16px !important; font-weight: 500; border-radius: 4px; + &:hover { + background: none; + color: var(--el-menu-active-color); + } } .el-menu-item.is-active { diff --git a/ui/src/layout/components/sidebar/index.vue b/ui/src/layout/components/sidebar/index.vue index 4acd6e05a..2c7ad35b6 100644 --- a/ui/src/layout/components/sidebar/index.vue +++ b/ui/src/layout/components/sidebar/index.vue @@ -1,12 +1,12 @@