Files
REG_IBL/one-ui/system/one-inject-price/store.js
2026-05-25 20:01:37 +07:00

30 lines
686 B
JavaScript

// State
// data ...
// Mutations
//
//
// Actions
import courier from "./modules/courier.js";
import holiday from "./modules/holiday.js";
import patient from "./modules/patient.js";
import system from "../../apps/modules/system/system.js";
export const store = new Vuex.Store({
modules: {
holiday: holiday,
system: system,
patient: patient,
},
state: {
tab_selected: 'admin-kurir'
},
mutations: {
change_tab(state, ntab) {
state.tab_selected = ntab
}
},
actions: {
change_tab(context, ntab) {
context.commit('change_tab', ntab)
}
}
});