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