diff --git a/packages/mybook/index.vue b/packages/mybook/index.vue index 92a2990..6f816b2 100644 --- a/packages/mybook/index.vue +++ b/packages/mybook/index.vue @@ -158,17 +158,20 @@ }) }, async goBook(){ - await this.$u.api.user().then(res => { - if (res.user.appointment_total - res.user.pass_appointments > 0) { - this.can_appointment = true - uni.navigateTo({ - url: '/packages/booksubmit/appointment' - }) - } else { - this.can_appointment = false - this.base.toast("您当前没有可预约次数") - } + uni.navigateTo({ + url: '/packages/booksubmit/appointment' }) + // await this.$u.api.user().then(res => { + // if (res.user.appointment_total - res.user.pass_appointments > 0) { + // this.can_appointment = true + // uni.navigateTo({ + // url: '/packages/booksubmit/appointment' + // }) + // } else { + // this.can_appointment = false + // this.base.toast("您当前没有可预约次数") + // } + // }) } } diff --git a/pages/me/index.vue b/pages/me/index.vue index e55a281..2842fbb 100644 --- a/pages/me/index.vue +++ b/pages/me/index.vue @@ -277,7 +277,7 @@ this.$u.vuex('vuex_user', res.user) this.userInfo = res.user this.course_signs = res.user.course_signs ? res.user.course_signs : [], - this.myQrcode = res.course_signs ? res.course_signs.qrcode : 'STBC' + this.myQrcode = res.course_signs ? res.course_signs.qrcode : 'STBC' if (this.base.isNull(res.user.mobile)) { this.showRegister = true this.hasMobile = false