getters.js 709 B

123456789101112131415161718192021
  1. const getters = {
  2. token: state => state.app.token,
  3. stocksColor: state => state.app.stocksColor,
  4. headHeight: state => state.app.headHeight,
  5. statusBarHeight: state => state.app.statusBarHeight,
  6. windowInfo: state => state.app.windowInfo,
  7. PageContentHeight: state => state.app.PageContentHeight,
  8. tabBarHeight: state => state.app.tabBarHeight,
  9. // 资产
  10. contractAccount: state => state.possession.contractAccount,
  11. bibiAccount: state => state.possession.bibiAccount,
  12. legalAccount: state => state.possession.legalAccount,
  13. GiftMoneyAccount: state => state.possession.GiftMoneyAccount,
  14. // websocket
  15. bids: state => state.websocket.bids,
  16. asks: state => state.websocket.asks,
  17. }
  18. export default getters