fix: update

This commit is contained in:
xiaoxian521 2021-11-04 20:34:59 +08:00
parent 57e32bab16
commit c18dbea3cd
2 changed files with 5 additions and 6 deletions

View File

@ -24,8 +24,7 @@ export const useAppStore = defineStore({
}, },
// 这里的layout用于监听容器拖拉后恢复对应的导航模式 // 这里的layout用于监听容器拖拉后恢复对应的导航模式
layout: layout:
storageLocal.getItem("responsive-layout")?.layout?.layout ?? storageLocal.getItem("responsive-layout")?.layout ?? getConfig().Layout,
getConfig().Layout,
device: deviceDetection() ? "mobile" : "desktop" device: deviceDetection() ? "mobile" : "desktop"
}), }),
getters: { getters: {

View File

@ -318,9 +318,6 @@
background-color: $subMenuBg !important; background-color: $subMenuBg !important;
.el-menu-item { .el-menu-item {
color: $menuText;
background-color: $subMenuBg;
span { span {
font-size: 12px; font-size: 12px;
margin-left: 10px; margin-left: 10px;
@ -368,6 +365,9 @@
.el-menu-item, .el-menu-item,
.el-sub-menu__title { .el-sub-menu__title {
color: $menuText;
background-color: $subMenuBg;
&:hover { &:hover {
color: $menuTitleHover !important; color: $menuTitleHover !important;
} }
@ -580,7 +580,7 @@ body[layout="vertical"] {
} }
.main-container { .main-container {
margin-left: 54px !important; margin-left: 0;
} }
.submenu-title-noDropdown { .submenu-title-noDropdown {