mirror of https://gitee.com/xiaonuobase/snowy
【更新】request请求:统一成功提示 路径严格匹配
parent
56df6876ca
commit
e3abc84a1a
|
@ -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)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue