fix #293. stay at MAP page. Remove calling of copyPending.......

This commit is contained in:
Cindy Chang
2024-06-12 10:43:48 +08:00
parent d117adf54e
commit 235504a3fb
4 changed files with 21 additions and 14 deletions

View File

@@ -64,7 +64,6 @@ export default {
beforeRouteUpdate(to, from, next) {
// console.log("beforeRouteUpdate", from.name, "to:", to.name);
this.setPrevioiusPage(from.name);
this.setActivePageComputedByRoute(to.matched);
// 離開 Map 頁時判斷是否有無資料和需要存檔
if ((from.name === 'Map' || from.name === 'CheckMap') && this.tempFilterId) {