Showing
1 changed file
with
5 additions
and
1 deletions
| @@ -68,7 +68,11 @@ Page({ | @@ -68,7 +68,11 @@ Page({ | ||
| 68 | App.Customer.SetCustomerInfo({ | 68 | App.Customer.SetCustomerInfo({ |
| 69 | ...this.user | 69 | ...this.user |
| 70 | }).then(res=>{ | 70 | }).then(res=>{ |
| 71 | - App.Customer.GetCustomerInfo({},'clear') | 71 | + if(res.ret==200){ |
| 72 | + App.Customer.GetCustomerInfo({},'clear') | ||
| 73 | + }else{ | ||
| 74 | + return util.toast(res.msg,'none') | ||
| 75 | + } | ||
| 72 | wx.navigateBack() | 76 | wx.navigateBack() |
| 73 | }) | 77 | }) |
| 74 | }, | 78 | }, |
-
Please register or login to post a comment