fix: dashboard intl settings

This commit is contained in:
jialin
2024-06-30 13:49:44 +08:00
parent 9f4f28edaf
commit aa160da9f9
23 changed files with 270 additions and 202 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export const requestConfig: RequestConfig = {
errorHandler: (error: any, opts: any) => {
const { message: errorMessage, response } = error;
const errMsg = response?.data?.message || errorMessage;
if (!opts?.skipErrorHandler) {
if (!opts?.skipErrorHandler && response?.status) {
message.error(errMsg);
}
console.log('errorHandler+++++++++++++++', error, opts);