!149 fix:响应拦截器"showError为false"时弹报错信息,条件不符逻辑。

Merge pull request !149 from SuchJack/master
pull/150/head
芋道源码 2025-05-19 12:47:06 +00:00 committed by Gitee
commit 658ef561f8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -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',