mirror of
https://gitee.com/xiaonuobase/snowy.git
synced 2026-03-22 02:37:16 +08:00
【更新】request请求:统一成功提示 路径严格匹配
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user