minor fix of typo

This commit is contained in:
Cindy Chang
2024-06-11 15:31:12 +08:00
parent 82fe104291
commit ba418abbef

View File

@@ -21,6 +21,7 @@ const customClass = {
*/ */
export async function saveFilter(addFilterId) { export async function saveFilter(addFilterId) {
let fileName = ''; let fileName = '';
const pageAdminStore = PageAdminStore();
const { value, isConfirmed } = await Swal.fire({ const { value, isConfirmed } = await Swal.fire({
title: 'SAVE NEW FILTER', title: 'SAVE NEW FILTER',
@@ -55,7 +56,7 @@ export async function saveFilter(addFilterId) {
return true; return true;
} else { // 點擊取消或空白處,為存檔失敗。 } else { // 點擊取消或空白處,為存檔失敗。
// console.log("PageAdminStore.activePage", PageAdminStore.activePage); // console.log("PageAdminStore.activePage", PageAdminStore.activePage);
PageAdminStore.keepPreviousPage(); pageAdminStore.keepPreviousPage();
return false; return false;
} }
} }