Merge branch 'couponV2.0' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/mobileclient into couponV2.0

This commit is contained in:
wangsongsole 2022-10-25 17:14:36 +08:00
commit e18c148c2d
1 changed files with 7 additions and 3 deletions

View File

@ -313,8 +313,12 @@
this.openDialog('正在加载商品...');
localStorage.setItem('entryLink', window.location.href);//存储起始页链接
setTimeout(() => {
window.location.href = '../homepage.html';
}, 1000);
if (this.pageType === 4 || this.pageType === 8) {
window.location.href = './coupon/couponCollection.html';
} else {
window.location.href = './homepage.html';
}
}, 1000);
} else {
self.openErrorDialog(self.tiptext);
}
@ -349,7 +353,7 @@
},
watch: {
key (val) {
this.disabled = Boolean(!(this.pageType == 1 && val.length == 11));
this.disabled = Boolean(!([1,8].includes(this.pageType)&& val.length == 11));
}
}
});