chore: 调整通知时间
This commit is contained in:
parent
6c37459fe3
commit
49f396f961
|
@ -27,7 +27,7 @@ const ExpandableToastContent = ({ fullText }) => {
|
|||
export const showExpandableToast = (message: string) => {
|
||||
toast(<ExpandableToastContent fullText={message} />, {
|
||||
position: "top-center",
|
||||
autoClose: 5000,
|
||||
autoClose: 3000,
|
||||
pauseOnHover: true,
|
||||
className: "toastDetail",
|
||||
});
|
||||
|
|
|
@ -471,7 +471,7 @@ const QEditor = ({ lng }) => {
|
|||
// throw new Error(`Paper2AI出现错误: ${error}`);
|
||||
toast.error(`Paper2AI出现错误: ${error}`, {
|
||||
position: "top-center",
|
||||
autoClose: 5000,
|
||||
autoClose: 3000,
|
||||
pauseOnHover: true,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user