import { mapState } from 'vuex' export default { computed: { ...mapState({ identity: state=> state.user.identity, role: state=>state.user.vuex_userInfo.roles, vuex_userInfo: state=>state.user.vuex_userInfo, vuex_deptId: state=>state.user.vuex_userInfo.deptId||'', vuex_coachId: state=>state.user.vuex_userInfo.coachId||'', vuex_schoolId: state=>state.user.vuex_userInfo.schoolId||'', vuex_loginInfo: state=>state.user.vuex_loginInfo, vuex_cityInfo: state=> state.user.vuex_cityInfo, }), }, data() { return { } }, onPullDownRefresh() { setTimeout(()=>{ uni.stopPullDownRefresh() },1500) }, }