getters.js 670 B

123456789101112131415161718
  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. // 用户相关
  10. userInfo: (state) => state.user.userInfo,
  11. authUserId: (state) => state.user.authUserId,
  12. accessToken: (state) => state.user.accessToken,
  13. appId: (state) => state.user.appId,
  14. accountType: (state) => state.user.accountType,
  15. clubUserId: (state) => state.user.clubUserId,
  16. // 供应商相关
  17. supplierInfo: (state) => state.supplier.supplierInfo,
  18. }