Browse Source

优惠劵领取成功后,改成重新加载

feature/3.0.0-推广员
lfs3 6 years ago
parent
commit
cb37c296a3
1 changed files with 2 additions and 1 deletions
  1. 3
      src/view/month-card.vue

3
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() {

Loading…
Cancel
Save