Commit 00b9d81fb82b0a2769873ead02ce78081875be99
1 parent
75f749f4
-- 多促销的优化 --
Showing
2 changed files
with
2 additions
and
1 deletions
components/promate_pop/promate_pop.js
@@ -24,7 +24,7 @@ Component({ | @@ -24,7 +24,7 @@ Component({ | ||
24 | }, | 24 | }, |
25 | 25 | ||
26 | /*----pop的开关,如果按钮是‘确定’,就要返回参数给父层组件---*/ | 26 | /*----pop的开关,如果按钮是‘确定’,就要返回参数给父层组件---*/ |
27 | - close_pro_pop: async function (event) { | 27 | + close_pro_pop: async function (e) { |
28 | this.setData({pro_pop: 0}); | 28 | this.setData({pro_pop: 0}); |
29 | if(!this.data.type) return false; | 29 | if(!this.data.type) return false; |
30 | var idx=this.data.cx_prom_group.findIndex(function (e){ | 30 | var idx=this.data.cx_prom_group.findIndex(function (e){ |
components/promate_pop/promate_pop.wxss