【修复】存在重复内容也提示成功问题

Signed-off-by: lingsoul <908707246@qq.com>
pull/189/head
lingsoul 2024-01-03 08:41:28 +00:00 committed by Gitee
parent efb55f4930
commit 6f401347cc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ service.interceptors.response.use(
'saveDraft'
]
apiNameArray.forEach((apiName) => {
if (responseUrl.includes(apiName)) {
if (responseUrl.endsWith(apiName)) {
message.success(data.msg)
}
})