File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 47
47
</a-drawer >
48
48
</template >
49
49
50
- <a-layout :class =" [layoutMode, `content-width-${contentWidth}`]" :style =" { paddingLeft: fixSiderbar && device === 'desktop' ? `${sidebarOpened ? 256 : 80}px` : '0' }" >
50
+ <a-layout :class =" [layoutMode, `content-width-${contentWidth}`]" :style =" { paddingLeft: fixSiderbar && isDesktop() ? `${sidebarOpened ? 256 : 80}px` : '0' }" >
51
51
<!-- layout header -->
52
52
<global-header
53
53
:mode =" layoutMode"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const mixin = {
15
15
fixSiderbar : state => state . app . fixSiderbar ,
16
16
contentWidth : state => state . app . contentWidth ,
17
17
autoHideHeader : state => state . app . autoHideHeader ,
18
- sidebarOpened : state => state . app . sidebarOpened
18
+ sidebarOpened : state => state . app . sidebar . opened
19
19
} )
20
20
}
21
21
}
You canβt perform that action at this time.
0 commit comments