tanghaolin
2022-07-28 62aa8e0f0b366bc131309b72e1350d800d30be72
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import * as Vuex from 'vuex'
import account from './modules/account'
import skin from './modules/skin'
import token from './modules/token'
import select from './modules/select'
import chartConfig from './modules/chartConfig'
 
const store = Vuex.createStore({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    instante: {
      namespaced: true,
      modules: {
        account,
        skin,
        token,
        select,
        chartConfig,
      },
    },
  },
})
//console.log(store.commit('instante/account/init',null,{ root: true }),27)
export default store