wxd
/
MShopWeApp
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
d3e3d94714017a3741d6fec35faac839d5b7b599
Authored by
yvan.ni
2024-12-05 10:52:01 +0800
1 parent
adfe8e5b
包含是要用>0,负-1也是真
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
components/my_confirm/my_confirm.js
components/my_confirm/my_confirm.js
View file @
d3e3d94
...
...
@@ -30,7 +30,7 @@ Component({
30
30
var ck2=content.indexOf('兑换该礼包');
31
31
var ck3=content.indexOf('领取该礼包');
32
32
33
- if(ck1
|| ck2 || ck3
){
33
+ if(ck1
>0 || ck2>0 || ck3>0
){
34
34
this.setData({
35
35
is_show_txt:1
36
36
})
...
...