Skip to content

Commit

Permalink
perf: 优化错误提示框关闭时间
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud committed Oct 30, 2024
1 parent 2bbe175 commit 5ae19a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/src/utils/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const MsgSuccess = (message: string) => {
message: message,
type: 'success',
showClose: true,
duration: 1500
duration: 3000
})
}

Expand All @@ -14,7 +14,7 @@ export const MsgInfo = (message: string) => {
message: message,
type: 'info',
showClose: true,
duration: 1500
duration: 3000
})
}

Expand All @@ -23,7 +23,7 @@ export const MsgWarning = (message: string) => {
message: message,
type: 'warning',
showClose: true,
duration: 1500
duration: 3000
})
}

Expand All @@ -32,7 +32,7 @@ export const MsgError = (message: string) => {
message: message,
type: 'error',
showClose: true,
duration: 1500
duration: 3000
})
}

Expand Down

0 comments on commit 5ae19a4

Please sign in to comment.