getters.js 664 B

1234567891011121314151617
  1. const getters = {
  2. model: state => state.app.model,
  3. systemInfo: state => state.app.systemInfo,
  4. safeArea: state => state.app.safeArea,
  5. headImgUrl: state => state.user.headImgUrl,
  6. nickName: state => state.user.nickName,
  7. userIdentity: state => state.user.userIdentity,
  8. userId: state => state.user.userId,
  9. unusedNum: state => state.coupon.unusedNum,
  10. expiredNum: state => state.coupon.expiredNum,
  11. usedNum: state => state.coupon.usedNum,
  12. couponAlertType: state => state.coupon.couponAlertType,
  13. couponNoticeFlag: state => state.coupon.couponNoticeFlag,
  14. kindCount: state => state.cart.kindCount
  15. }
  16. export default getters