mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-05-07 23:27:21 +08:00
【优化】优化首页宫格调整优惠券列表页面失败的问题。
This commit is contained in:
@@ -256,7 +256,7 @@ module.exports = {
|
|||||||
if (val == '/pages/index/default/default' || val == '/pages/category/index/index' || val == '/pages/index/cart/cart' || val == '/pages/index/member/member') {
|
if (val == '/pages/index/default/default' || val == '/pages/category/index/index' || val == '/pages/index/cart/cart' || val == '/pages/index/member/member') {
|
||||||
this.$u.route({ type: 'switchTab', url: val });
|
this.$u.route({ type: 'switchTab', url: val });
|
||||||
return;
|
return;
|
||||||
} else if (val.indexOf('/pages/coupon/coupon') > -1) {
|
} else if (val.indexOf('/pages/coupon/coupon?id=') > -1) {
|
||||||
var id = val.replace('/pages/coupon/coupon?id=', "");
|
var id = val.replace('/pages/coupon/coupon?id=', "");
|
||||||
this.receiveCoupon(id)
|
this.receiveCoupon(id)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user