diff --git a/buyer/src/components/drawer/Drawer.vue b/buyer/src/components/drawer/Drawer.vue index d7990232..5ef556f6 100644 --- a/buyer/src/components/drawer/Drawer.vue +++ b/buyer/src/components/drawer/Drawer.vue @@ -190,7 +190,7 @@ export default { this.$router.push('/home/Coupons') }, onCancel: () => { - if (item.storeId !== 'platform') { + if (item.storeId !== '0') { this.$router.push({path: '/merchant', query: {id: item.storeId}}) } else { if (item.scopeType === 'PORTION_GOODS_CATEGORY') { diff --git a/buyer/src/pages/CouponCenter.vue b/buyer/src/pages/CouponCenter.vue index e334f550..e3f589f2 100644 --- a/buyer/src/pages/CouponCenter.vue +++ b/buyer/src/pages/CouponCenter.vue @@ -101,7 +101,7 @@ export default { this.$router.push('/home/Coupons') }, onCancel: () => { - if (item.storeId !== 'platform') { + if (item.storeId !== '0') { this.$router.push({path: '/merchant', query: {id: item.storeId}}) } else { if (item.scopeType === 'PORTION_GOODS_CATEGORY') { diff --git a/buyer/src/pages/home/userCenter/Coupons.vue b/buyer/src/pages/home/userCenter/Coupons.vue index 0914d866..b1b2ed0c 100644 --- a/buyer/src/pages/home/userCenter/Coupons.vue +++ b/buyer/src/pages/home/userCenter/Coupons.vue @@ -72,7 +72,7 @@ export default { go (item) { // 根据使用条件跳转商品列表页面 if (this.params.memberCouponStatus !== 'NEW') return; - if (item.storeId !== 'platform') { + if (item.storeId !== '0') { this.$router.push({path: '/merchant', query: {id: item.storeId}}) } else { if (item.scopeType === 'PORTION_GOODS_CATEGORY') {