We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b073ef commit 4b1486aCopy full SHA for 4b1486a
src/utils/http.ts
@@ -36,7 +36,10 @@ const http: AxiosInstance = axios.create({
36
37
const handleError = (msg: string) => {
38
if (msg.length >= 15) {
39
- return notificationErrorWrapper(msg || '服务器端错误')
+ return notificationErrorWrapper({
40
+ content: msg || '服务器端错误',
41
+ duration: 5 * 1000,
42
+ })
43
}
44
return messageErrorWrapper({
45
content: msg || '服务器端错误',
0 commit comments