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.

26 lines
1.0 KiB

5 years ago
5 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. workShop:state=>state.user.workShop,
  9. introduction: state => state.user.introduction,
  10. status: state => state.user.status,
  11. roles: state => state.user.roles,
  12. myDepts: state => state.user.myDepts,
  13. myShops: state => state.user.myShops,
  14. myLocations: state => state.user.myLocations,
  15. myBranchs: state => state.user.myBranchs,
  16. myMenus: state => state.user.myMenus,
  17. myPosts: state => state.user.myPosts,
  18. setting: state => state.user.setting,
  19. permission_routers: state => state.permission.routers,
  20. addRouters: state => state.permission.addRouters,
  21. errorLogs: state => state.errorLog.logs,
  22. added: state => state.permission.added,
  23. isLoadOk:state=>state.user.isLoadOk,
  24. noticeMsg:state=>state.noticeMsg.noticeMsg
  25. }
  26. export default getters