jsy-app/store/index.js

22 lines
484 B
JavaScript
Raw Normal View History

2024-09-18 10:30:10 +08:00
import user from '@/store/modules/user'
2024-11-20 18:20:46 +08:00
import land from '@/store/modules/system/land'
2024-11-22 17:29:55 +08:00
import sysUser from '@/store/modules/system/user'
2024-11-20 19:09:37 +08:00
import dict from '@/store/modules/system/dict'
2024-11-22 10:38:49 +08:00
import company from '@/store/modules/system/company'
2024-11-22 17:29:55 +08:00
import role from '@/store/modules/system/role'
2024-09-18 10:30:10 +08:00
import getters from './getters'
2024-09-25 18:47:15 +08:00
import {
createStore
} from "vuex";
2024-09-18 10:30:10 +08:00
const store = createStore({
2024-09-25 18:47:15 +08:00
modules: {
2024-11-20 18:20:46 +08:00
user,
2024-11-20 19:09:37 +08:00
land,
2024-11-22 17:29:55 +08:00
sysUser,
2024-11-22 10:38:49 +08:00
dict,
2024-11-22 17:29:55 +08:00
company,
role
2024-09-25 18:47:15 +08:00
},
getters
2024-09-18 10:30:10 +08:00
});
export default store;