mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
21 lines
369 B
Vue
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
|
|
}
|
|
}
|
|
}
|