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({
|
await Swal.fire({
|
||||||
title: 'SAVE COMPLETE',
|
title: 'SAVE COMPLETE',
|
||||||
html: `<span class="text-primary">${value}</span> has been saved in Lucia.`,
|
html: `<span class="text-primary">${value}</span> has been saved in Lucia.`,
|
||||||
timer: 5000, // 停留5秒後自動關閉
|
timer: 3000, // 停留 3 秒後自動關閉
|
||||||
showConfirmButton: false,
|
showConfirmButton: false,
|
||||||
icon: 'success',
|
icon: 'success',
|
||||||
iconColor: '#0099FF',
|
iconColor: '#0099FF',
|
||||||
@@ -215,7 +215,7 @@ export async function uploadFailedFirst(failureType, failureMsg, failureLoc) {
|
|||||||
await Swal.fire({
|
await Swal.fire({
|
||||||
title: 'IMPORT FAILED',
|
title: 'IMPORT FAILED',
|
||||||
html: value,
|
html: value,
|
||||||
// timer: 5000, // 停留5秒後自動關閉
|
timer: 3000, // 停留 3 秒後自動關閉
|
||||||
showConfirmButton: false,
|
showConfirmButton: false,
|
||||||
icon: 'error',
|
icon: 'error',
|
||||||
iconColor: '#FF3366',
|
iconColor: '#FF3366',
|
||||||
@@ -289,7 +289,7 @@ export async function uploadFailedSecond(detail) {
|
|||||||
export async function uploadSuccess() {
|
export async function uploadSuccess() {
|
||||||
await Swal.fire({
|
await Swal.fire({
|
||||||
title: 'IMPORT COMPLETED',
|
title: 'IMPORT COMPLETED',
|
||||||
timer: 5000, // 停留5秒後自動關閉
|
timer: 3000, // 停留 3 秒後自動關閉
|
||||||
showConfirmButton: false,
|
showConfirmButton: false,
|
||||||
icon: 'success',
|
icon: 'success',
|
||||||
iconColor: '#0099FF',
|
iconColor: '#0099FF',
|
||||||
|
|||||||
Reference in New Issue
Block a user