Flatten nested repos
This commit is contained in:
23
test/vuex/one-fo-process-from-distribution/store.js
Normal file
23
test/vuex/one-fo-process-from-distribution/store.js
Normal file
@@ -0,0 +1,23 @@
|
||||
// State
|
||||
// data ...
|
||||
// Mutations
|
||||
//
|
||||
//
|
||||
// Actions
|
||||
import * as api from "./api.js";
|
||||
|
||||
export const store = new Vuex.Store({
|
||||
state: {
|
||||
tab_selected : 'pasien-dokter'
|
||||
},
|
||||
mutations: {
|
||||
change_tab(state,ntab) {
|
||||
state.tab_selected = ntab
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
change_tab(context,ntab) {
|
||||
context.commit('change_tab',ntab)
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user