From e3abc84a1a5cd791e890c8cb150ae4eaddd321f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=99=E4=B9=88=E9=9A=BE=E6=BC=94?= Date: Wed, 19 Jun 2024 14:43:41 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91request?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=EF=BC=9A=E7=BB=9F=E4=B8=80=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=20=E8=B7=AF=E5=BE=84=E4=B8=A5=E6=A0=BC?= =?UTF-8?q?=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snowy-admin-web/src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowy-admin-web/src/utils/request.js b/snowy-admin-web/src/utils/request.js index cd756acd..1c799dd8 100644 --- a/snowy-admin-web/src/utils/request.js +++ b/snowy-admin-web/src/utils/request.js @@ -129,7 +129,7 @@ service.interceptors.response.use( 'saveDraft' ] apiNameArray.forEach((apiName) => { - if (responseUrls[responseUrls.length - 1].includes(apiName)) { + if (responseUrls[responseUrls.length - 1] === apiName) { message.success(data.msg) } })