index.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import Vue from 'vue';
  2. import Vuex from 'vuex';
  3. import login from '@common/store/login';
  4. import chat from '@common/store/live/chat';
  5. import roomchat from '@common/store/live/room-chat';
  6. import apply from '@common/store/live/apply';
  7. import dock from '@common/store/live/dock';
  8. import news from '@common/store/live/news';
  9. import market from '@common/store/market/market';
  10. import transaction from '@common/store/market/transaction';
  11. import marketproduct from '@common/store/market/marketproduct';
  12. import talentExperts from '@common/store/market/talentExperts';
  13. import * as ustate from '@common/store/user/state';
  14. import * as umutations from '@common/store/user/mutations';
  15. import personalchat from '@common/store/live/personalchat';
  16. import personalroom from '@common/store/live/personalroom';
  17. import markettype from '@common/store/market/markettype';
  18. import enterpriseproject from '@common/store/market/enterpriseproject';
  19. import newmarketproduct from '@common/store/market/newmarketproduct';
  20. Vue.use(Vuex);
  21. export default new Vuex.Store({
  22. state: { ...ustate },
  23. mutations: { ...umutations },
  24. actions: {},
  25. modules: {
  26. roomchat,
  27. marketproduct,
  28. talentExperts,
  29. market,
  30. chat,
  31. dock,
  32. apply,
  33. news,
  34. login,
  35. personalchat,
  36. personalroom,
  37. transaction,
  38. markettype,
  39. enterpriseproject,
  40. newmarketproduct,
  41. },
  42. });