修复: 修改不分页面布局问题;

This commit is contained in:
iczer
2020-06-19 17:43:11 +08:00
parent 2e9ebf7b1d
commit 5bbe94728e
12 changed files with 34 additions and 37 deletions

View File

@@ -1,9 +1,10 @@
import {footerLinks, animates} from '@/config'
import {footerLinks, animates, themeColor} from '@/config'
export default {
namespaced: true,
state: {
isMobile: false,
theme: 'dark',
themeColor,
layout: 'side',
systemName: 'Vue Antd Admin',
copyright: '2018 ICZER 工作室出品',
@@ -30,6 +31,9 @@ export default {
},
setAnimate (state, animate) {
state.animate = animate
},
setThemeColor (state, color) {
state.themeColor = color
}
}
}