You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
641 B

9 months ago
9 months ago
3 weeks ago
9 months ago
9 months ago
  1. import { mapState } from 'vuex'
  2. export default {
  3. computed: {
  4. ...mapState({
  5. identity: state=> state.user.identity,
  6. role: state=>state.user.vuex_userInfo.roles,
  7. vuex_userInfo: state=>state.user.vuex_userInfo,
  8. vuex_deptId: state=>state.user.vuex_userInfo.deptId||'',
  9. vuex_coachId: state=>state.user.vuex_userInfo.coachId||'',
  10. vuex_schoolId: state=>state.user.vuex_userInfo.schoolId||'',
  11. vuex_loginInfo: state=>state.user.vuex_loginInfo,
  12. vuex_cityInfo: state=> state.user.vuex_cityInfo,
  13. }),
  14. },
  15. data() {
  16. return {
  17. }
  18. },
  19. onPullDownRefresh() {
  20. setTimeout(()=>{
  21. uni.stopPullDownRefresh()
  22. },1500)
  23. },
  24. }