diff --git a/components/my_confirm/my_confirm.js b/components/my_confirm/my_confirm.js index 5795d99..2e60957 100644 --- a/components/my_confirm/my_confirm.js +++ b/components/my_confirm/my_confirm.js @@ -30,7 +30,7 @@ Component({ var ck2=content.indexOf('兑换该礼包'); var ck3=content.indexOf('领取该礼包'); - if(ck1 || ck2 || ck3){ + if(ck1>0 || ck2>0 || ck3>0){ this.setData({ is_show_txt:1 })