Skip to content

Commit 0ac0719

Browse files
committed
feat: 收缩侧边栏后选中项父级背景高亮
1 parent f46f9f5 commit 0ac0719

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/layouts/components/Sidebar/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ const tipLineWidth = computed(() => !isTop.value ? "2px" : "0px")
128128
:deep(.el-sub-menu.is-active) {
129129
.el-sub-menu__title {
130130
@extend %tip-line;
131+
background-color: v-bind(sidebarMenuHoverBgColor);
131132
}
132133
}
133134
}

0 commit comments

Comments
 (0)