mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-30 07:06:40 +08:00
fix(deps): fix AxiosError construction order error
This commit is contained in:
parent
6ea9b85ff1
commit
e29d120408
@ -61,8 +61,8 @@ function createCommonRequest<ResponseData = any>(
|
|||||||
'the backend request error',
|
'the backend request error',
|
||||||
BACKEND_ERROR_CODE,
|
BACKEND_ERROR_CODE,
|
||||||
response.config,
|
response.config,
|
||||||
response,
|
response.request,
|
||||||
response.request
|
response
|
||||||
);
|
);
|
||||||
|
|
||||||
await opts.onError(backendError);
|
await opts.onError(backendError);
|
||||||
|
Loading…
Reference in New Issue
Block a user