From 0230f76c95a1d03b140e377825a4820e83ae4a2d Mon Sep 17 00:00:00 2001 From: huangzhen Date: Fri, 11 Oct 2024 16:38:26 +0800 Subject: [PATCH] =?UTF-8?q?update=20@=E8=B7=B3=E8=BD=ACbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/templates/cmsList/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 {