Issues #188: done.
This commit is contained in:
@@ -43,9 +43,11 @@ export async function saveFilter(addFilterId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function savedSuccessfully(value) {
|
export async function savedSuccessfully(value) {
|
||||||
|
value = value ? 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秒後自動關閉
|
||||||
showConfirmButton: false,
|
showConfirmButton: false,
|
||||||
icon: 'success',
|
icon: 'success',
|
||||||
iconColor: '#0099FF',
|
iconColor: '#0099FF',
|
||||||
|
|||||||
Reference in New Issue
Block a user