mirror of
https://gitee.com/gz-yami/mall4v.git
synced 2025-12-26 07:16:27 +08:00
修复导出excel表格报错
This commit is contained in:
parent
63ca02d6bf
commit
e833d61c6b
@ -28,6 +28,11 @@ http.interceptors.request.use(config => {
|
||||
* 响应拦截
|
||||
*/
|
||||
http.interceptors.response.use(response => {
|
||||
// blob 格式处理
|
||||
if (response.request.responseType === 'blob') {
|
||||
return response
|
||||
}
|
||||
|
||||
const res = response.data
|
||||
// 00000 请求成功
|
||||
if (res.code === '00000') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user