fix:"showError为false"时弹报错信息,条件不符逻辑。

pull/149/head
SuchJack 2025-05-15 17:55:51 +08:00
parent 071074b96c
commit 6b7487de46
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',