fix: Issues #275 done.

This commit is contained in:
chiayin
2024-03-21 11:33:38 +08:00
parent 5d6b0c8253
commit b9ddd7ee66

View File

@@ -213,7 +213,7 @@ export async function uploadFailedFirst(failureType, failureMsg, failureLoc) {
break; break;
} }
await Swal.fire({ await Swal.fire({
title: 'UPLOAD FAILED', title: 'IMPORT FAILED',
html: value, html: value,
// timer: 5000, // 停留5秒後自動關閉 // timer: 5000, // 停留5秒後自動關閉
showConfirmButton: false, showConfirmButton: false,
@@ -250,7 +250,7 @@ export async function uploadFailedSecond(detail) {
srt += content; srt += content;
}); });
await Swal.fire({ await Swal.fire({
title: 'UPLOAD FAILED', title: 'IMPORT FAILED',
html: `<div class="text-left mx-3 space-y-1"><p>Error(s) detected:</p><ul class="list-disc ml-6">${srt}</ul><p>${manySrt} Please check.</p></div>`, html: `<div class="text-left mx-3 space-y-1"><p>Error(s) detected:</p><ul class="list-disc ml-6">${srt}</ul><p>${manySrt} Please check.</p></div>`,
// timer: 5000, // 停留5秒後自動關閉 // timer: 5000, // 停留5秒後自動關閉
showConfirmButton: false, showConfirmButton: false,