getters.js 759 B

1234567891011121314151617181920
  1. export default {
  2. // 应用相关
  3. isPc: (state) => state.app.isPc,
  4. screen: (state) => state.app.screen,
  5. static: (state) => state.app.static,
  6. routePrefix: (state) => state.app.routePrefix,
  7. loginVisiable: (state) => state.app.loginVisiable,
  8. themeName: (state) => state.app.themeName,
  9. screenWidth: (state) => state.app.screenWidth,
  10. // 用户相关
  11. userInfo: (state) => state.user.userInfo,
  12. authUserId: (state) => state.user.authUserId,
  13. authId: (state) => state.user.authId,
  14. accessToken: (state) => state.user.accessToken,
  15. appId: (state) => state.user.appId,
  16. accountType: (state) => state.user.accountType,
  17. clubUserId: (state) => state.user.clubUserId,
  18. // 供应商相关
  19. supplierInfo: (state) => state.supplier.supplierInfo,
  20. }