From 0f562e59c2e8cf73a05fe8f7e7d924d3a85f33e5 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 21 Dec 2022 13:06:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20menu=20=E9=AB=98=E5=BA=A6=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ContentDetailWrap/src/ContentDetailWrap.vue | 2 +- yudao-ui-admin-vue3/src/layout/components/Menu/src/Menu.vue | 2 ++ yudao-ui-admin-vue3/src/router/modules/remaining.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/yudao-ui-admin-vue3/src/components/ContentDetailWrap/src/ContentDetailWrap.vue b/yudao-ui-admin-vue3/src/components/ContentDetailWrap/src/ContentDetailWrap.vue index a06fa3e17..887357b1a 100644 --- a/yudao-ui-admin-vue3/src/components/ContentDetailWrap/src/ContentDetailWrap.vue +++ b/yudao-ui-admin-vue3/src/components/ContentDetailWrap/src/ContentDetailWrap.vue @@ -2,7 +2,7 @@ import { ElCard } from 'element-plus' import { propTypes } from '@/utils/propTypes' import { useDesign } from '@/hooks/web/useDesign' -import { ref, onMounted, defineEmits } from 'vue' +import { ref, onMounted } from 'vue' import { Sticky } from '@/components/Sticky' import { useI18n } from '@/hooks/web/useI18n' const { t } = useI18n() diff --git a/yudao-ui-admin-vue3/src/layout/components/Menu/src/Menu.vue b/yudao-ui-admin-vue3/src/layout/components/Menu/src/Menu.vue index 40718d093..99a7c0033 100644 --- a/yudao-ui-admin-vue3/src/layout/components/Menu/src/Menu.vue +++ b/yudao-ui-admin-vue3/src/layout/components/Menu/src/Menu.vue @@ -161,6 +161,7 @@ $prefix-cls: #{$namespace}-menu; // 设置子菜单悬停的高亮和背景色 .#{$elNamespace}-sub-menu__title, .#{$elNamespace}-menu-item { + height: 59px; &:hover { color: var(--left-menu-text-active-color) !important; background-color: var(--left-menu-bg-color) !important; @@ -170,6 +171,7 @@ $prefix-cls: #{$namespace}-menu; // 设置选中时的高亮背景和高亮颜色 .#{$elNamespace}-sub-menu.is-active, .#{$elNamespace}-menu-item.is-active { + height: 59px; color: var(--left-menu-text-active-color) !important; background-color: var(--left-menu-bg-active-color) !important; diff --git a/yudao-ui-admin-vue3/src/router/modules/remaining.ts b/yudao-ui-admin-vue3/src/router/modules/remaining.ts index d883eb66b..d26cd11fd 100644 --- a/yudao-ui-admin-vue3/src/router/modules/remaining.ts +++ b/yudao-ui-admin-vue3/src/router/modules/remaining.ts @@ -85,7 +85,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ meta: { canTo: true, hidden: true, - noTagsView: true, + noTagsView: false, icon: 'ep:user', title: t('common.profile') }