From 6f401347cc42466e02fd6eb963981b5ef1286054 Mon Sep 17 00:00:00 2001 From: lingsoul <908707246@qq.com> Date: Wed, 3 Jan 2024 08:41:28 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E9=87=8D=E5=A4=8D=E5=86=85=E5=AE=B9=E4=B9=9F=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=88=90=E5=8A=9F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lingsoul <908707246@qq.com> --- 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 291d387b..ee6aba65 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 (responseUrl.includes(apiName)) { + if (responseUrl.endsWith(apiName)) { message.success(data.msg) } })