Showing
3 changed files
with
6 additions
and
3 deletions
| @@ -169,9 +169,11 @@ Page({ | @@ -169,9 +169,11 @@ Page({ | ||
| 169 | firstShowMsg:firstShowMsg, | 169 | firstShowMsg:firstShowMsg, |
| 170 | },'/pages/customer/detail_owner') | 170 | },'/pages/customer/detail_owner') |
| 171 | }) | 171 | }) |
| 172 | - }).catch(()=>{ | 172 | + }).catch((res)=>{ |
| 173 | this.hasSubmit=true//出错后可再次提交 | 173 | this.hasSubmit=true//出错后可再次提交 |
| 174 | - return util.toast('提交失败,请重试','none'); | 174 | + if(!res.msgSecCheck){ |
| 175 | + return util.toast('提交失败,请重试','none'); | ||
| 176 | + } | ||
| 175 | }) | 177 | }) |
| 176 | }, | 178 | }, |
| 177 | getRdate(){ | 179 | getRdate(){ |
| @@ -113,7 +113,7 @@ function rpc(host = '', act, data = {}, fouce = false, header = {}, silence = tr | @@ -113,7 +113,7 @@ function rpc(host = '', act, data = {}, fouce = false, header = {}, silence = tr | ||
| 113 | title:'内容含有违法违规内容', | 113 | title:'内容含有违法违规内容', |
| 114 | icon:'none' | 114 | icon:'none' |
| 115 | }) | 115 | }) |
| 116 | - return fail() | 116 | + return fail({msgSecCheck:true}) |
| 117 | } | 117 | } |
| 118 | } | 118 | } |
| 119 | let openid = wx.getStorageSync('customer_openid'); | 119 | let openid = wx.getStorageSync('customer_openid'); |
-
Please register or login to post a comment