Files
FE_CPONE/test/vuex/one-md-price-ref/store.js
2026-04-27 10:13:31 +07:00

31 lines
664 B
JavaScript

// State
// data ...
// Mutations
//
//
// Actions
import priceref from "./modules/priceref.js";
import system from "../../../apps/modules/system/system.js";
export const store = new Vuex.Store({
modules: {
priceref: priceref,
system: system
},
state: {
dialog_confirm: false
},
mutations: {
change_tab(state, ntab) {
state.tab_selected = ntab
},
update_dialog_confirm(state, v) {
state.dialog_confirm = v
}
},
actions: {
change_tab(context, ntab) {
context.commit('change_tab', ntab)
}
}
});