fix: fix the problem of folding display name of the first level menu
| | |
| | | } |
| | | }, |
| | | "engines": { |
| | | "node": ">=12.0.0" |
| | | "node": ">=10.16.1" |
| | | } |
| | | } |
| | |
| | | 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 { |
| | |
| | | :actions="[ |
| | | { |
| | | label: '删除', |
| | | props: { |
| | | onClick: handleDelete, |
| | | }, |
| | | onClick: handleDelete, |
| | | }, |
| | | ]" |
| | | :dropDownActions="[ |
| | | { |
| | | label: '启用', |
| | | props: { |
| | | onClick: handleOpen, |
| | | }, |
| | | onClick: handleOpen, |
| | | }, |
| | | ]" |
| | | /> |