菜单居中

This commit is contained in:
gaofy 2023-12-28 18:02:20 +08:00
parent 85f88c87ac
commit 5f4a963751

View File

@ -48,8 +48,11 @@ const handleSelect = (index: string) => {
<style lang='scss' scoped>
.el-menu {
border: 0;
.el-menu-item.is-active {
background: #f2f3f5;
.el-menu-item {
justify-content: center;
&.is-active {
background: #f2f3f5;
}
}
}
</style>