Commit 9ba15705b5e8e13b5eba3a31bd82fa163ed4eba7
Committed by
GitHub
1 parent
d16f6f8e
fix: 统一errorMessageMode值为单引号 (#2343)
Showing
1 changed file
with
1 additions
and
1 deletions
src/utils/http/axios/index.ts
... | ... | @@ -84,7 +84,7 @@ const transform: AxiosTransform = { |
84 | 84 | } |
85 | 85 | } |
86 | 86 | |
87 | - // errorMessageMode=‘modal’的时候会显示modal错误弹窗,而不是消息提示,用于一些比较重要的错误 | |
87 | + // errorMessageMode='modal'的时候会显示modal错误弹窗,而不是消息提示,用于一些比较重要的错误 | |
88 | 88 | // errorMessageMode='none' 一般是调用时明确表示不希望自动弹出错误提示 |
89 | 89 | if (options.errorMessageMode === 'modal') { |
90 | 90 | createErrorModal({ title: t('sys.api.errorTip'), content: timeoutMsg }); | ... | ... |