|
|
|
@ -230,7 +230,7 @@ const transform: AxiosTransform = {
|
|
|
|
|
errorLogStore.addAjaxErrorInfo(error) |
|
|
|
|
const { response, code, message, config } = error || {} |
|
|
|
|
const errorMessageMode = config?.requestOptions?.errorMessageMode || 'none' |
|
|
|
|
const msg: string = response?.data?.msg ?? response?.data?.error_description ?? '' |
|
|
|
|
const msg: string = response?.data?.msg ?? response?.data?.message ?? response?.data?.error_description ?? '' |
|
|
|
|
const err: string = error?.toString?.() ?? '' |
|
|
|
|
let errMessage = '' |
|
|
|
|
|
|
|
|
|