Commit 711366022d7ccd87d80ec82f2705e1bb005291b3
1 parent
83a7470e
自己测出分销的一个bug
Showing
1 changed file
with
12 additions
and
3 deletions
pages/distribution/distribution.js
... | ... | @@ -186,9 +186,18 @@ Page({ |
186 | 186 | } |
187 | 187 | |
188 | 188 | } |
189 | - } | |
190 | - | |
191 | - | |
189 | + } | |
190 | + else{ | |
191 | + wx.showToast({ | |
192 | + title: res.data.msg, | |
193 | + icon: 'none', | |
194 | + duration: 2000 | |
195 | + }); | |
196 | + setTimeout(function(){ | |
197 | + getApp().goto("/pages/user/index/index"); | |
198 | + },1500) | |
199 | + | |
200 | + } | |
192 | 201 | |
193 | 202 | }else{ |
194 | 203 | self.getDis_data() | ... | ... |