fix: 修复更新Naive UI版本后菜单高亮样式失效问题

This commit is contained in:
张传龙 2022-04-05 00:37:30 +08:00
parent a9997984d5
commit 9db7aa50a1

View File

@ -98,18 +98,15 @@ function handleMenuSelect(key, item) {
.n-menu {
margin-top: 10px;
padding-left: 10px;
.n-menu-item {
margin-top: 0;
position: relative;
.n-menu-item-content {
&::before {
left: 0;
right: 0;
border-radius: 0;
background-color: unset !important;
}
&:hover,
&.n-menu-item--selected {
&.n-menu-item-content--selected {
border-radius: 0 !important;
&::before {