tanghaolin
2022-08-31 244c4241427b9f3316f06f1e0ae2ee571edc1a23
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