We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613c836 commit c469512Copy full SHA for c469512
src/layouts/base-layout/index.vue
@@ -85,8 +85,13 @@ function getSiderWidth() {
85
}
86
87
function getSiderCollapsedWidth() {
88
+ const { reverseHorizontalMix } = themeStore.layout;
89
const { collapsedWidth, mixCollapsedWidth, mixChildMenuWidth } = themeStore.sider;
90
91
+ if (isHorizontalMix.value && reverseHorizontalMix) {
92
+ return isActiveFirstLevelMenuHasChildren.value ? collapsedWidth : 0;
93
+ }
94
+
95
let w = isVerticalMix.value || isHorizontalMix.value ? mixCollapsedWidth : collapsedWidth;
96
97
if (isVerticalMix.value && appStore.mixSiderFixed && childLevelMenus.value.length) {
0 commit comments