feat: add state of min page height in setting module; 🌟
新增:vuex setting 模块增加页面最小高度 state;
This commit is contained in:
@@ -7,6 +7,7 @@ export default {
|
||||
animates: ADMIN.animates,
|
||||
palettes: ADMIN.palettes,
|
||||
dustbins: [],
|
||||
pageMinHeight: 0,
|
||||
...config,
|
||||
},
|
||||
mutations: {
|
||||
@@ -42,6 +43,9 @@ export default {
|
||||
},
|
||||
setDustbins(state, dustbins) {
|
||||
state.dustbins = dustbins
|
||||
},
|
||||
correctPageMinHeight(state, minHeight) {
|
||||
state.pageMinHeight += minHeight
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user