修复落地页跳转错误

This commit is contained in:
wangsongsole 2022-09-26 15:52:01 +08:00
parent 8a1dc264ec
commit eb2a54580f
1 changed files with 1 additions and 3 deletions

View File

@ -229,7 +229,7 @@
return return
} }
this.disabledBtn = true; this.disabledBtn = true;
if (this.pageType == 3) {//兑换码 if (this.pageType == 3 || this.pageType == 4) {//兑换码、优惠卷
let data = { let data = {
"key": this.key, "key": this.key,
"code": this.code, "code": this.code,
@ -304,8 +304,6 @@
self.openErrorDialog(res.data.message); self.openErrorDialog(res.data.message);
} }
}).catch(err => { }); }).catch(err => { });
} else {//优惠券
window.location.href = './couponCollection.html'
} }
}, },
getQueryString (name) { getQueryString (name) {