Update fetch.js
This commit is contained in:
parent
3a81401739
commit
115b2b0f7d
|
@ -48,7 +48,7 @@ service.interceptors.response.use(
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return Promise.reject(error);
|
return Promise.reject('error');
|
||||||
} else {
|
} else {
|
||||||
return response.data;
|
return response.data;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue