mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 20:54:40 +08:00
fix: fix the problem of folding display name of the first level menu
This commit is contained in:
@@ -120,6 +120,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.0.0"
|
"node": ">=10.16.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -21,6 +21,19 @@
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > li[role='menuitem']:not(.ant-menu-submenu) {
|
||||||
|
display: flex;
|
||||||
|
margin-top: 12px;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 2;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
span {
|
||||||
|
margin-top: 6px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__wrap {
|
&__wrap {
|
||||||
|
@@ -6,17 +6,13 @@
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
label: '删除',
|
label: '删除',
|
||||||
props: {
|
onClick: handleDelete,
|
||||||
onClick: handleDelete,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
:dropDownActions="[
|
:dropDownActions="[
|
||||||
{
|
{
|
||||||
label: '启用',
|
label: '启用',
|
||||||
props: {
|
onClick: handleOpen,
|
||||||
onClick: handleOpen,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user