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

This commit is contained in:
samulle
2020-08-28 16:25:04 +08:00
parent 2436182baf
commit b2b62914ef
6 changed files with 16 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ export default {
namespaced: true,
state: {
isMobile: false,
fixedWidth: 2,
pageWidth: 'fixed',
animates: ADMIN.animates,
palettes: ADMIN.palettes,
pageMinHeight: 0,
@@ -51,8 +51,8 @@ export default {
setAsyncRoutes(state, asyncRoutes) {
state.asyncRoutes = asyncRoutes
},
setFixedWidth(state, fixedWidth) {
state.fixedWidth = fixedWidth
setPageWidth(state, pageWidth) {
state.pageWidth = pageWidth
}
}
}