2020-06-21 21:56:34 +08:00
|
|
|
export const state = () => ({
|
|
|
|
theme: 'default',
|
|
|
|
isMobile: false,
|
|
|
|
// ua
|
|
|
|
userAgent: '',
|
|
|
|
// 默认语言
|
|
|
|
language: '',
|
|
|
|
})
|
|
|
|
|
|
|
|
|
2020-06-22 17:13:42 +08:00
|
|
|
export const getters = {
|
2020-06-21 21:56:34 +08:00
|
|
|
isMobile: state => state.isMobile
|
2020-06-22 17:13:42 +08:00
|
|
|
}
|
2020-06-21 21:56:34 +08:00
|
|
|
|
2020-06-22 17:13:42 +08:00
|
|
|
export const mutations = {
|
2020-06-21 21:56:34 +08:00
|
|
|
|
2020-06-22 17:13:42 +08:00
|
|
|
}
|
2020-06-21 21:56:34 +08:00
|
|
|
|
2020-06-22 17:13:42 +08:00
|
|
|
export const actions ={
|
2020-06-21 21:56:34 +08:00
|
|
|
|
2020-06-22 17:13:42 +08:00
|
|
|
}
|