nebula/store/global.js
2020-06-21 21:56:34 +08:00

22 lines
280 B
JavaScript

export const state = () => ({
theme: 'default',
isMobile: false,
// ua
userAgent: '',
// 默认语言
language: '',
})
export const getters = () => ({
isMobile: state => state.isMobile
})
export const mutations = () => ({
})
export const actions = () => ({
})