Flatten nested repos
This commit is contained in:
35
test/vuex/one-process-ref-internal/store.js
Normal file
35
test/vuex/one-process-ref-internal/store.js
Normal file
@@ -0,0 +1,35 @@
|
||||
// State
|
||||
// data ...
|
||||
// Mutations
|
||||
//
|
||||
//
|
||||
// Actions
|
||||
import header from "./modules/header.js";
|
||||
import detail from "./modules/detail.js";
|
||||
import newx from "./modules/new.js";
|
||||
import system from "../../../apps/modules/system/system.js";
|
||||
export const store = new Vuex.Store({
|
||||
modules: {
|
||||
header: header,
|
||||
detail: detail,
|
||||
newx: newx,
|
||||
system: system
|
||||
},
|
||||
|
||||
state: {
|
||||
dialog_confirm: false,
|
||||
dialog_new: false
|
||||
},
|
||||
|
||||
mutations: {
|
||||
update_dialog_confirm(state, v) {
|
||||
state.dialog_confirm = v
|
||||
},
|
||||
|
||||
update_dialog_new(state, v) {
|
||||
state.dialog_new = v
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user