From e8e1a26bd0c3b5761780fb1ffdad3821a4c95306 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期二, 25 一月 2022 08:46:25 +0800
Subject: [PATCH] fixed: localStorage 刪除錯誤的 key (正確為 notContactAppointmentIdFromMsg)

---
 PAMapp/pages/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/PAMapp/pages/index.vue b/PAMapp/pages/index.vue
index 1aec34c..d62cb87 100644
--- a/PAMapp/pages/index.vue
+++ b/PAMapp/pages/index.vue
@@ -79,7 +79,7 @@
 
       <PopUpFrame
         :isOpen.sync="isShowReAppointmentDialog"
-        @closePopUp="removeUrlQueryParameter('notContactAppointmentId')"
+        @closePopUp="removeUrlQueryParameter('notContactAppointmentIdFromMsg')"
       >
           <div class="pam-dialog-review">
               <div class="mt-30 text--middle" v-if="agentInfo">
@@ -338,7 +338,7 @@
         this.storeConsultantList();
         this.storageStrickQueryItem({ requirements: requirements });
         this.storageClearNotContactAppointmentIdFromMsg();
-        this.removeUrlQueryParameter('notContactAppointmentId');
+        this.removeUrlQueryParameter('notContactAppointmentIdFromMsg');
         this.$router.push('/recommendConsultant');
       });
     }
@@ -347,7 +347,7 @@
       appointmentService.cancelAppointment(this.appointmentDetail.id).then(() => {
         this.storeConsultantList();
         this.storageClearNotContactAppointmentIdFromMsg();
-        this.removeUrlQueryParameter('notContactAppointmentId');
+        this.removeUrlQueryParameter('notContactAppointmentIdFromMsg');
         this.$router.push('');
       });
     }

--
Gitblit v1.8.0