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',