fix: 统一errorMessageMode值为单引号 (#2343)
This commit is contained in:
parent
d16f6f8e44
commit
9ba15705b5
|
|
@ -84,7 +84,7 @@ const transform: AxiosTransform = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// errorMessageMode=‘modal’的时候会显示modal错误弹窗,而不是消息提示,用于一些比较重要的错误
|
// errorMessageMode='modal'的时候会显示modal错误弹窗,而不是消息提示,用于一些比较重要的错误
|
||||||
// errorMessageMode='none' 一般是调用时明确表示不希望自动弹出错误提示
|
// errorMessageMode='none' 一般是调用时明确表示不希望自动弹出错误提示
|
||||||
if (options.errorMessageMode === 'modal') {
|
if (options.errorMessageMode === 'modal') {
|
||||||
createErrorModal({ title: t('sys.api.errorTip'), content: timeoutMsg });
|
createErrorModal({ title: t('sys.api.errorTip'), content: timeoutMsg });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue