22 lines
280 B
JavaScript
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 = () => ({
|
|
|
|
})
|