|
@@ -33,7 +33,7 @@ const errorHandler = (error: { response: Response }): Response => {
|
|
const errorText = codeMessage[response.status] || response.statusText;
|
|
const errorText = codeMessage[response.status] || response.statusText;
|
|
const {status} = response;
|
|
const {status} = response;
|
|
|
|
|
|
- notification.error({
|
|
|
|
|
|
+ notification.info({
|
|
message: `请求错误 ${status}`,
|
|
message: `请求错误 ${status}`,
|
|
description: errorText,
|
|
description: errorText,
|
|
});
|
|
});
|