2024-04-23 23:01:35 +08:00
|
|
|
import { createStore } from "vuex";
|
|
|
|
import user from '@/store/modules/user'
|
2024-05-06 16:11:42 +08:00
|
|
|
import userInfo from '@/store/modules/userInfo'
|
2024-04-23 23:01:35 +08:00
|
|
|
import getters from './getters'
|
|
|
|
|
|
|
|
const store = createStore({
|
|
|
|
modules: {
|
2024-05-06 16:11:42 +08:00
|
|
|
user,userInfo
|
2024-04-23 23:01:35 +08:00
|
|
|
},
|
|
|
|
getters
|
|
|
|
});
|
|
|
|
export default store;
|
|
|
|
|
|
|
|
|
|
|
|
|