增加设置面板‘流式’、‘定宽’切换界面随之修改。

This commit is contained in:
samulle
2020-08-28 15:21:16 +08:00
parent 365dde7e66
commit 2436182baf
8 changed files with 24 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ export default {
namespaced: true,
state: {
isMobile: false,
fixedWidth: 2,
animates: ADMIN.animates,
palettes: ADMIN.palettes,
pageMinHeight: 0,
@@ -49,6 +50,9 @@ export default {
},
setAsyncRoutes(state, asyncRoutes) {
state.asyncRoutes = asyncRoutes
},
setFixedWidth(state, fixedWidth) {
state.fixedWidth = fixedWidth
}
}
}