2025-07-04 16:18:58 +08:00
|
|
|
import Vue from "vue";
|
|
|
|
|
import Vuex from "vuex";
|
|
|
|
|
import user from "./modules/user";
|
|
|
|
|
import contact from "./modules/contact";
|
|
|
|
|
import conversation from "./modules/conversation";
|
|
|
|
|
import message from "./modules/message";
|
2025-11-06 16:56:35 +08:00
|
|
|
import cache from './modules/cache.js'
|
2025-07-04 16:18:58 +08:00
|
|
|
import getters from "./getters";
|
2026-02-05 10:42:50 +08:00
|
|
|
import oa from './modules/oa.js'
|
2025-07-04 16:18:58 +08:00
|
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
|
|
|
|
|
const store = new Vuex.Store({
|
|
|
|
|
modules: {
|
|
|
|
|
user,
|
|
|
|
|
contact,
|
|
|
|
|
conversation,
|
|
|
|
|
message,
|
2026-02-05 10:42:50 +08:00
|
|
|
cache,
|
|
|
|
|
oa
|
2025-07-04 16:18:58 +08:00
|
|
|
},
|
|
|
|
|
getters,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export default store;
|