Commit 50be2d36 authored by 杨思琦's avatar 杨思琦

fix: 菜单修改

parent 9e4e2d2a
Pipeline #80396 passed with stages
......@@ -115,9 +115,9 @@
"@wisdom-map/arcgismap": "1.4.0-210",
"@wisdom-map/basemap": "1.1.0-31",
"@wisdom-map/util": "^1.0.28-0",
"@wisdom-utils/components": "0.1.331",
"@wisdom-utils/components": "0.1.332",
"@wisdom-utils/runtime": "0.0.48",
"@wisdom-utils/utils": "0.1.371",
"@wisdom-utils/utils": "0.1.372",
"animate.css": "^4.1.1",
"antd": "4.21.2",
"compression": "1.7.4",
......
......@@ -329,7 +329,6 @@ const Layout = props => {
onClick={() => {
notification.close(key);
setTimeout(() => {
history.push(`/user/login?client=${client}${generateType}`, { reload: true });
clear();
props.logout();
})
......
......@@ -233,15 +233,32 @@
line-height: 44px;
margin-top: 0;
margin-bottom: 0;
max-width: 110px;
width: 110px;
padding: 0 14px;
}
:global(.top-nav-menu-userWrapper.wider
li.@{ant-prefix}-menu-item-only-child) {
max-width: 132px;
width: 132px;
:global(.top-nav-menu-userWrapper
ul.@{ant-prefix}-menu) {
min-width: 0;
}
:global{
.@{ant-prefix}-layout-has-sider {
.@{ant-prefix}-menu-item:hover{
background: ~'var(--@{ant-prefix}-primary-color)' !important;
span {
color: #fff !important
}
}
.@{ant-prefix}-menu-submenu-title:hover {
background: ~'var(--@{ant-prefix}-primary-color)' !important;
span {
color: #fff !important
}
}
.@{ant-prefix}-pro-sider .@{ant-prefix}-menu-dark .@{ant-prefix}-menu-sub.@{ant-prefix}-menu-inline .@{ant-prefix}-menu-submenu-title {
margin-bottom: 0;
}
}
}
// :global(.@{ant-prefix}-layout-sider-collapsed .@{ant-prefix}-menu-item.@{ant-prefix}-menu-item-only-child) {
// padding-left: 0px!important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment