getters.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. export default {
  11. token: state => state.app.token,
  12. managerToken: state => state.app.managerToken,
  13. isLogin: state => !!state.app.token,
  14. backgroundColor: state => state.app.backgroundColor,
  15. userInfo: state => state.app.userInfo || {},
  16. uid: state => state.app.uid,
  17. homeActive: state => state.app.homeActive,
  18. home: state => state.app.home,
  19. chatUrl: state => state.app.chatUrl,
  20. systemPlatform: state => state.app.systemPlatform,
  21. productType: state => state.app.productType || 'normal',
  22. globalData: state => state.app.globalData,
  23. merchantClassify: state => state.app.merchantClassify,
  24. merchantType: state => state.app.merchantType,
  25. merchantAPPInfo: state => state.app.merchantAPPInfo,
  26. merSttledData: state => state.app.merSttledData,
  27. bottomNavigationIsCustom: state => state.app.bottomNavigationIsCustom,
  28. merTokenIsExist: state => state.app.merTokenIsExist,
  29. discoverTopic: state => state.app.discoverTopic,
  30. merchantEmployeeList:state => state.app.merchantEmployeeList,
  31. isEmployee:state => state.app.isEmployee,
  32. selectMerId:state => state.app.selectMerId,
  33. selectMerchantRole:state => state.app.selectMerchantRole
  34. };