diff --git a/sheep/request/index.js b/sheep/request/index.js index f4056ad0..03eb5767 100644 --- a/sheep/request/index.js +++ b/sheep/request/index.js @@ -204,7 +204,7 @@ http.interceptors.response.use( } if (error && error.config) { - if (error.config.custom.showError === false) { + if (error.config.custom.showError) { uni.showToast({ title: error.data?.msg || errorMessage, icon: 'none',