Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -72,7 +72,9 @@ Component({ | @@ -72,7 +72,9 @@ Component({ | ||
| 72 | if (res.ret != 200) { | 72 | if (res.ret != 200) { |
| 73 | return util.toast(res.msg || '发送失败,请联系客服', 'none'); | 73 | return util.toast(res.msg || '发送失败,请联系客服', 'none'); |
| 74 | } | 74 | } |
| 75 | - App.SendSMS.SyncSmsBatchSend(res.data) | 75 | + try{ |
| 76 | + App.SendSMS.SyncSmsBatchSend(res.data) | ||
| 77 | + }catch(e){} | ||
| 76 | this.triggerEvent('send'); | 78 | this.triggerEvent('send'); |
| 77 | util.toast('已发送'); | 79 | util.toast('已发送'); |
| 78 | }).catch(res => { | 80 | }).catch(res => { |
-
Please register or login to post a comment