chore: 调整通知时间

This commit is contained in:
liuweiqing 2024-02-24 13:47:34 +08:00
parent 6c37459fe3
commit 49f396f961
2 changed files with 2 additions and 2 deletions

View File

@ -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",
});

View File

@ -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,
});
}