diff --git a/src/view/month-card.vue b/src/view/month-card.vue index 9ebae0f..dbdee1f 100644 --- a/src/view/month-card.vue +++ b/src/view/month-card.vue @@ -105,6 +105,7 @@ export default { methods: { // 初始化 handleInit() { + let that = this; // 回去优惠券信息 @@ -173,7 +174,7 @@ export default { that.loading = false; console.log("信息", result); if (result.code === 0 || result.code === 3) { - window.history.go(0); + that.handleInit(); } else if (result.code === 666) { that.$vux.toast.text("您还没登录,请先登录!", "middle"); setTimeout(function() {