2018-09-03 10:39:39 +08:00

21 lines
369 B
Vue

export default {
namespaced: true,
state: {
isMobile: false,
theme: 'dark',
layout: 'side',
systemName: 'Vue Antd Admin'
},
mutations: {
setDevice (state, isMobile) {
state.isMobile = isMobile
},
setTheme (state, theme) {
state.theme = theme
},
setLayout (state, layout) {
state.layout = layout
}
}
}