From 71930b2b36894216e86d69264ca510cca284546b Mon Sep 17 00:00:00 2001 From: hailin <1356886193@qq.com> Date: 星期二, 08 八月 2023 13:30:05 +0800 Subject: [PATCH] 最后一舞---去他妈的缪海庆,扣脚大爷都没你扣,没有格局把路走窄了 --- src/layout/components/Sidebar/SidebarItem.vue | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 44f67e4..e5b588f 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -4,6 +4,7 @@ <app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)"> <el-menu-item v-if="onlyOneChild.meta.show==false ?onlyOneChild.meta.show: true" :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}"> + <!-- <el-menu-item :style="{width:'0px',height:'0px'}" v-if="onlyOneChild.meta.show==false ?onlyOneChild.meta.show: true" :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}"> --> <!-- <template slot="title"> <item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" /> </template> --> @@ -101,3 +102,13 @@ } } </script> +<style scoped> +/* 鏂囧瓧 */ +::v-deep.el-submenu.is-active > .el-submenu__title { + color: #409eff !important; +} +/* icon鍥炬爣涔熻窡鐫�鍙� */ +::v-deep .el-submenu.is-active > .el-submenu__title i { + color: #409eff !important; +} +</style> -- Gitblit v1.9.3