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
605 B
26 lines
605 B
|
|
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.user.coachId||'',
|
|
vuex_schoolId: state=>state.user.vuex_userInfo.user.schoolId||'',
|
|
vuex_loginInfo: state=>state.user.vuex_loginInfo,
|
|
|
|
}),
|
|
},
|
|
data() {
|
|
return {
|
|
}
|
|
},
|
|
onPullDownRefresh() {
|
|
setTimeout(()=>{
|
|
uni.stopPullDownRefresh()
|
|
},1500)
|
|
},
|
|
}
|