| @@ -126,12 +126,6 @@ Page({ | |||||
| }) | }) | ||||
| .catch(err => { | .catch(err => { | ||||
| console.log(err); | console.log(err); | ||||
| wx.showToast({ | |||||
| title: err.errMsg, | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| }); | |||||
| }) | }) | ||||
| // 登录 | // 登录 | ||||
| var scene = decodeURIComponent(options.scene); | var scene = decodeURIComponent(options.scene); | ||||
| @@ -233,12 +227,6 @@ Page({ | |||||
| } | } | ||||
| }) | }) | ||||
| .catch(err => { | .catch(err => { | ||||
| wx.showToast({ | |||||
| title: err.errMsg, | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| }); | |||||
| }) | }) | ||||
| }, | }, | ||||
| /** | /** | ||||
| @@ -341,12 +329,6 @@ Page({ | |||||
| }) | }) | ||||
| .catch(err => { | .catch(err => { | ||||
| console.log(err) | console.log(err) | ||||
| wx.showToast({ | |||||
| title: err.errMsg, | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| }); | |||||
| }) | }) | ||||
| }, | }, | ||||
| @@ -401,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 | |||||
| // }); | |||||
| } | } | ||||
| }) | }) | ||||
| } | } | ||||
| @@ -468,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 | |||||
| // }); | |||||
| }) | }) | ||||
| }, | }, | ||||
| @@ -488,12 +470,12 @@ Page({ | |||||
| .then(res => { | .then(res => { | ||||
| }) | }) | ||||
| .catch(err => { | .catch(err => { | ||||
| wx.showToast({ | |||||
| title: err.message, | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| }); | |||||
| // wx.showToast({ | |||||
| // title: err.message, | |||||
| // icon: 'none', | |||||
| // duration: 2000, | |||||
| // mask: false | |||||
| // }); | |||||
| }) | }) | ||||
| }, | }, | ||||