1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| import Vue from 'vue'
| import Vuex from 'vuex'
| import cacheModule from './cache'
|
| Vue.use(Vuex)
|
| export default new Vuex.Store({
| modules: {
| 'cache': cacheModule
| },
| state: {
| isRenderTab: true
| },
| mutations: {
| setIsRenderTab (state, data) {
| state.isRenderTab = data
| }
| }
| })
|
|