修改小程序砍价逻辑

This commit is contained in:
Gao xiaosong
2020-09-27 02:20:36 +08:00
parent 549ae41097
commit 2e55f39775
7 changed files with 240 additions and 200 deletions

View File

@ -43,7 +43,9 @@
// 判断是否是分销
if (url) {
let urlSpread = parseInt(url.spread);
cookie.set("spread", urlSpread || 0);
if (urlSpread) {
cookie.set("spread", urlSpread);
}
}
// if (this.$deviceType == "app" || this.$deviceType == "weixinh5") {
// this.$yrouter.switchTab({