getters.js 577 B

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