Commit 10f2ef500d41ac6ef83d88617318a5999ee5ec49
1 parent
e5d57493
幸运大转盘修改
Showing
1 changed file
with
15 additions
and
0 deletions
packageB/pages/luckactivity/luckinfo/luckinfo.js
| ... | ... | @@ -844,6 +844,11 @@ Page({ |
| 844 | 844 | wx.showToast({ |
| 845 | 845 | title: self.data.luckInfo.msgInfo, |
| 846 | 846 | icon: 'none', |
| 847 | + success: function() { | |
| 848 | + self.setData({ | |
| 849 | + start: false | |
| 850 | + }); | |
| 851 | + } | |
| 847 | 852 | }); |
| 848 | 853 | return; |
| 849 | 854 | }; |
| ... | ... | @@ -970,6 +975,11 @@ Page({ |
| 970 | 975 | wx.showToast({ |
| 971 | 976 | title: res.data.msg, |
| 972 | 977 | icon: 'none', |
| 978 | + success: function() { | |
| 979 | + self.setData({ | |
| 980 | + start: false | |
| 981 | + }); | |
| 982 | + } | |
| 973 | 983 | }); |
| 974 | 984 | self.data.luckInfo.msgInfo = res.data.msg; |
| 975 | 985 | return; |
| ... | ... | @@ -1017,6 +1027,11 @@ Page({ |
| 1017 | 1027 | wx.showToast({ |
| 1018 | 1028 | title: '你今天的抽奖次数已用完啦!~', |
| 1019 | 1029 | icon: 'none', |
| 1030 | + success: function() { | |
| 1031 | + self.setData({ | |
| 1032 | + start: false | |
| 1033 | + }); | |
| 1034 | + } | |
| 1020 | 1035 | }); |
| 1021 | 1036 | }; |
| 1022 | 1037 | ... | ... |