mirror of https://gitee.com/xiaonuobase/snowy
parent
efb55f4930
commit
6f401347cc
|
@ -129,7 +129,7 @@ service.interceptors.response.use(
|
||||||
'saveDraft'
|
'saveDraft'
|
||||||
]
|
]
|
||||||
apiNameArray.forEach((apiName) => {
|
apiNameArray.forEach((apiName) => {
|
||||||
if (responseUrl.includes(apiName)) {
|
if (responseUrl.endsWith(apiName)) {
|
||||||
message.success(data.msg)
|
message.success(data.msg)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue