提交 e3cbc932 作者: vben

fix: fix the problem of folding display name of the first level menu

上级 8fd1994b
......@@ -120,6 +120,6 @@
}
},
"engines": {
"node": ">=12.0.0"
"node": ">=10.16.1"
}
}
......@@ -21,6 +21,19 @@
font-size: 12px;
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 {
......
......@@ -6,18 +6,14 @@
:actions="[
{
label: '删除',
props: {
onClick: handleDelete,
},
},
]"
:dropDownActions="[
{
label: '启用',
props: {
onClick: handleOpen,
},
},
]"
/>
</template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论