You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
330 B
19 lines
330 B
import Vue from 'vue';
|
|
import Vuex from 'vuex';
|
|
|
|
Vue.use(Vuex);
|
|
|
|
export default new Vuex.Store({
|
|
state: {
|
|
isMock: false,
|
|
intervalTime: 30000, // 请求间隔时间
|
|
},
|
|
getters: {
|
|
isMock: state => state.isMock,
|
|
intervalTime: state => state.intervalTime,
|
|
},
|
|
mutations: {},
|
|
actions: {},
|
|
modules: {},
|
|
});
|