Showing
1 changed file
with
3 additions
and
1 deletions
| ... | ... | @@ -125,7 +125,9 @@ uni.$u.http.interceptors.response.use( |
| 125 | 125 | errorData = message || ""; |
| 126 | 126 | } |
| 127 | 127 | // console.log('errorData', errorData); |
| 128 | - uni.$u.toast(message); | |
| 128 | + if(message != "request:ok"){ | |
| 129 | + uni.$u.toast(message); | |
| 130 | + } | |
| 129 | 131 | // if (show) uni.$u.toast(errorData); |
| 130 | 132 | return Promise.reject(response); |
| 131 | 133 | } | ... | ... |