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.user.deptId, vuex_coachId: state=>state.user.vuex_userInfo.coachId || '1591015108974329858', }), }, data() { return { } } }