mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-17 06:03:42 +08:00
fix(deps): fix AxiosError construction order error
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user