| @@ -383,12 +383,12 @@ Page({ | |||||
| url: "/pages/phoneinput/phoneinput" | url: "/pages/phoneinput/phoneinput" | ||||
| }); | }); | ||||
| }else{ | }else{ | ||||
| // wx.showToast({ | |||||
| // title: err.errMsg, | |||||
| // icon: 'none', | |||||
| // duration: 2000, | |||||
| // mask: false | |||||
| // }); | |||||
| wx.showToast({ | |||||
| title: err.errMsg, | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| }); | |||||
| } | } | ||||
| }) | }) | ||||
| } | } | ||||
| @@ -450,12 +450,12 @@ Page({ | |||||
| }) | }) | ||||
| .catch(err => { | .catch(err => { | ||||
| console.log(err); | console.log(err); | ||||
| // wx.showToast({ | |||||
| // title: err.errMsg, | |||||
| // icon: 'none', | |||||
| // duration: 2000, | |||||
| // mask: false | |||||
| // }); | |||||
| wx.showToast({ | |||||
| title: err.errMsg, | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| }); | |||||
| }) | }) | ||||
| }, | }, | ||||
| @@ -470,12 +470,6 @@ Page({ | |||||
| .then(res => { | .then(res => { | ||||
| }) | }) | ||||
| .catch(err => { | .catch(err => { | ||||
| // wx.showToast({ | |||||
| // title: err.message, | |||||
| // icon: 'none', | |||||
| // duration: 2000, | |||||
| // mask: false | |||||
| // }); | |||||
| }) | }) | ||||
| }, | }, | ||||