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:
storageLocal.getItem("responsive-layout")?.layout?.layout ??
getConfig().Layout,
storageLocal.getItem("responsive-layout")?.layout ?? getConfig().Layout,
device: deviceDetection() ? "mobile" : "desktop"
}),
getters: {

View File

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