From cba6d7bbc1e360f791d344c0e6e0b363bbc1c9d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=B9=8F?= Date: Fri, 17 Oct 2025 09:19:15 +0800 Subject: [PATCH] . --- sheep/request/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheep/request/index.js b/sheep/request/index.js index ae95716..88f2398 100644 --- a/sheep/request/index.js +++ b/sheep/request/index.js @@ -122,7 +122,7 @@ http.interceptors.response.use( response.config.custom.showLoading && closeLoading(); // 自定义处理【error 错误提示】:如果需要显示错误提示,则显示错误提示 - if (response.data.code !== 0) { + if (response.data.code !== 0 && response.data.code !== 200) { // 特殊:如果 401 错误码,则跳转到登录页 or 刷新令牌 if (response.data.code === 401) { return refreshToken(response.config);