Commit b7553d00193f0f90d6353010ee23ea5d5af1bf2f

Authored by liuxuqinfhp1220
1 parent 1255e0e3

no message

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 },