let res = response.data
// 如果是返回的文件
if (response.config.responseType == 'blob' && response.config.url.indexOf("文件接口地址") !== -1) {
return response
}
let res = response.data
// 如果是返回的文件
if (response.config.responseType == 'blob' && response.config.url.indexOf("文件接口地址") !== -1) {
return response
}
本文标题:请求拦截获取文件类型response
本文链接:https://www.haomeiwen.com/subject/aggbjctx.html
网友评论