diff --git a/src/views/templates/cmsList/index.vue b/src/views/templates/cmsList/index.vue index 0ae1c8e..c64cf28 100644 --- a/src/views/templates/cmsList/index.vue +++ b/src/views/templates/cmsList/index.vue @@ -279,18 +279,23 @@ export default { } let params = { path: detailPage[item.goods.type], - query: { id: item.goods.id } + query: { id: item.goods.id }, } if (item.goods.group_id) { // 组合商品 params.path = '/comProduct'; delete params.query.id; params.query.group_id = item.goods.group_id; + return this.jump(params, type); } if (item.goods.type === 3) { // 支付宝账号领取/云闪付 if ((item.info.channel === 1 && item.info.receive_mode === 2) || (item.info.channel === 3)) { params.path = '/cmsLJJConfig'; + return this.jump(params, type); } } + this.jump(params, type); + }, + jump(params: any, type?: string) { if (type === 'auto') { this.$router.replace(params); } else {