// 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: { } });