From af2e9c75e394cb57a7648b9360cc8f8f51d71f0d Mon Sep 17 00:00:00 2001 From: chiayin Date: Thu, 21 Mar 2024 15:57:14 +0800 Subject: [PATCH] fix: Issues #243 change timer to 3 sec done. --- src/module/alertModal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/module/alertModal.js b/src/module/alertModal.js index f5094cb..57f723c 100644 --- a/src/module/alertModal.js +++ b/src/module/alertModal.js @@ -62,7 +62,7 @@ export async function savedSuccessfully(value) { await Swal.fire({ title: 'SAVE COMPLETE', html: `${value} has been saved in Lucia.`, - timer: 5000, // 停留5秒後自動關閉 + timer: 3000, // 停留 3 秒後自動關閉 showConfirmButton: false, icon: 'success', iconColor: '#0099FF', @@ -215,7 +215,7 @@ export async function uploadFailedFirst(failureType, failureMsg, failureLoc) { await Swal.fire({ title: 'IMPORT FAILED', html: value, - // timer: 5000, // 停留5秒後自動關閉 + timer: 3000, // 停留 3 秒後自動關閉 showConfirmButton: false, icon: 'error', iconColor: '#FF3366', @@ -289,7 +289,7 @@ export async function uploadFailedSecond(detail) { export async function uploadSuccess() { await Swal.fire({ title: 'IMPORT COMPLETED', - timer: 5000, // 停留5秒後自動關閉 + timer: 3000, // 停留 3 秒後自動關閉 showConfirmButton: false, icon: 'success', iconColor: '#0099FF',