30 lines
553 B
JavaScript
30 lines
553 B
JavaScript
// State
|
|
// data ...
|
|
// Mutations
|
|
//
|
|
//
|
|
// Actions
|
|
import service from "./modules/service.js";
|
|
import counter from "./modules/counter.js";
|
|
import numbering from "./modules/numbering.js";
|
|
import system from "../../../apps/modules/system/system.js";
|
|
|
|
export const store = new Vuex.Store({
|
|
state : {
|
|
tab_active : '01'
|
|
},
|
|
|
|
mutations : {
|
|
change_tab(state, tab) {
|
|
state.tab_active = tab;
|
|
}
|
|
},
|
|
|
|
modules : {
|
|
service: service,
|
|
counter:counter,
|
|
numbering:numbering,
|
|
system: system
|
|
}
|
|
});
|