refine and clean console.log

This commit is contained in:
Cindy Chang
2024-05-31 16:07:52 +08:00
parent 2142399f8c
commit 38e1aa9446
2 changed files with 1 additions and 10 deletions

View File

@@ -54,7 +54,6 @@ export async function saveFilter(addFilterId) {
fileName = '';
return true;
} else { // 點擊取消或空白處,為存檔失敗。
console.log("is not confirmed");
PageAdminStore.keepPreviousPage();
return false;
}
@@ -101,8 +100,6 @@ export async function leaveFilter(next, addFilterId, toPath, logOut) {
});
if(result.isConfirmed) {
//TODO:
console.log("result of SWAL modal:", result);
if(allMapDataStore.createFilterId) {
await allMapDataStore.updataFilter();