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 25985ea commit ab47aaeCopy full SHA for ab47aae
src/layout/index.vue
@@ -101,6 +101,10 @@ export default {
101
width: calc(100% - 54px);
102
}
103
104
+.sidebarHide .fixed-header {
105
+ width: calc(100%);
106
+}
107
+
108
.mobile .fixed-header {
109
width: 100%;
110
src/store/modules/app.js
@@ -12,6 +12,9 @@ const state = {
12
13
const mutations = {
14
TOGGLE_SIDEBAR: state => {
15
+ if (state.sidebar.hide) {
16
+ return false;
17
+ }
18
state.sidebar.opened = !state.sidebar.opened
19
state.sidebar.withoutAnimation = false
20
if (state.sidebar.opened) {
0 commit comments