From aae54ecfe79d05172fd68dfdbf8abfc4282fb2d0 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Mon, 26 Jun 2023 16:17:01 +0800 Subject: [PATCH] 优惠促销 多促销 点击跳转 --- components/promate_pop/promate_pop.js | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/components/promate_pop/promate_pop.js b/components/promate_pop/promate_pop.js index c23eaa1..eed3472 100644 --- a/components/promate_pop/promate_pop.js +++ b/components/promate_pop/promate_pop.js @@ -38,6 +38,9 @@ Component({ var item=this.data.cx_prom_group[index]; var prom_id = item.prom_id; + if(!prom_id) prom_id=item.id; + + var prom_type = item.prom_type; var url=''; switch (parseInt(prom_type)){ -- libgit2 0.21.4