You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.1 KiB

5 years ago
5 years ago
3 years ago
5 years ago
  1. const getters = {
  2. sidebar: state => state.app.sidebar,
  3. language: state => state.app.language,
  4. visitedViews: state => state.tagsView.visitedViews,
  5. cachedViews: state => state.tagsView.cachedViews,
  6. token: state => state.user.token,
  7. userInfo: state => state.user.userInfo,
  8. introduction: state => state.user.introduction,
  9. status: state => state.user.status,
  10. roles: state => state.user.roles,
  11. myDepts: state => state.user.myDepts,
  12. myShops: state => state.user.myShops,
  13. myLocations: state => state.user.myLocations,
  14. myBranchs: state => state.user.myBranchs,
  15. myMenus: state => state.user.myMenus,
  16. myPosts: state => state.user.myPosts,
  17. setting: state => state.user.setting,
  18. permission_routers: state => state.permission.routers,
  19. addRouters: state => state.permission.addRouters,
  20. errorLogs: state => state.errorLog.logs,
  21. added: state => state.permission.added,
  22. isLoadOk:state=>state.user.isLoadOk,
  23. noticeMsg:state=>state.noticeMsg.noticeMsg,
  24. projectInfo:state=>state.xm.projectInfo,
  25. xmProduct:state=>state.xm.xmProduct,
  26. xmIteration:state=>state.xm.xmIteration,
  27. testCasedb:state=>state.xm.testCasedb,
  28. }
  29. export default getters