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
27
28
29
30
| import Vue from 'vue'
| import Vuex from 'vuex'
| import loanInstitution from '@/store/module/loanInstitution'
| import fallBack from '@/store/module/fallBack'
| import businessChannel from '@/store/module/businessChannel'
| import captialUnit from '@/store/module/captialUnit'
| // import financialModule from "@/store/module/financialModule"
| import state from '@/store/state'
| import actions from '@/store/actions'
| import mutations from '@/store/mutations'
|
| Vue.use(Vuex)
|
| export default new Vuex.Store({
| state,
| actions,
| mutations,
| getters: {
| isEdit(state) {
| return state.tabTree.some(({ edit }) => edit === 'Y')
| }
| },
| modules: {
| loanInstitution,
| fallBack,
| businessChannel,
| captialUnit
| // financialModule
| }
| })
|
|