【更新】request请求:统一成功提示 路径严格匹配

pull/224/head
这么难演 2024-06-19 14:43:41 +08:00
parent 56df6876ca
commit e3abc84a1a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
})