const getDefaultState = () => { return { priceSymbol: '¥', priceDecimal: 2, priceSymbolVisible: false, } } const state = getDefaultState() const mutations = {} const actions = {} export default { state, mutations, actions, }