学员端小程序
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.

23 lines
449 B

1 year ago
1 year ago
12 months ago
1 year ago
  1. import { mapState } from 'vuex'
  2. export default {
  3. computed: {
  4. ...mapState({
  5. city: state=> state.user.vuex_cityInfo.city,
  6. vuex_cityInfo: state=> state.user.vuex_cityInfo,
  7. vuex_userInfo: state=> state.user.vuex_userInfo,
  8. userId: state=> state.user.vuex_loginInfo.userId,
  9. apiOk: state=> state.user.apiOk,
  10. }),
  11. },
  12. data() {
  13. return {
  14. }
  15. },
  16. onPullDownRefresh() {
  17. setTimeout(()=>{
  18. uni.stopPullDownRefresh()
  19. },1500)
  20. },
  21. }