江西小程序管理端
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.

24 lines
528 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year 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.user.deptId,
  9. vuex_coachId: state=>state.user.vuex_userInfo.user.coachId,
  10. vuex_loginInfo: state=>state.user.vuex_loginInfo,
  11. }),
  12. },
  13. data() {
  14. return {
  15. }
  16. },
  17. onPullDownRefresh() {
  18. setTimeout(()=>{
  19. uni.stopPullDownRefresh()
  20. },1500)
  21. },
  22. }