From 2961569ad7a13d74bd55b33c588d22a7bb1f705d Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期三, 15 十二月 2021 13:09:16 +0800
Subject: [PATCH] Merge branch 'master' of https://dev.pollex.com.tw:8443/r/pcalife/PAM

---
 PAMapp/components/BackActionBar.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue
index ecb8c26..11cfcaf 100644
--- a/PAMapp/components/BackActionBar.vue
+++ b/PAMapp/components/BackActionBar.vue
@@ -62,9 +62,10 @@
   }
 
   pushRouterByLoginRole():void{
-    const previousPageName = this.$route.name;
-    previousPageName?.includes('myConsultantList') ? this.$router.push('/') : this.$router.go(-1);
+    const pathName = this.$route.name;
+    pathName?.includes('myConsultantList') ? this.$router.push('/') : this.$router.go(-1);
   }
+
 }
 </script>
 

--
Gitblit v1.8.0