fix: Issues #243 change timer to 3 sec done.
This commit is contained in:
@@ -62,7 +62,7 @@ export async function savedSuccessfully(value) {
|
||||
await Swal.fire({
|
||||
title: 'SAVE COMPLETE',
|
||||
html: `<span class="text-primary">${value}</span> 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',
|
||||
|
||||
Reference in New Issue
Block a user