From bc4cd54c0120ea49ecd6cb95fae00fa6da001324 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期四, 16 十二月 2021 14:53:17 +0800 Subject: [PATCH] fixed: [顧問-我的已聯繫預約單列表] search 功能無法使用的錯誤 --- PAMapp/components/BackActionBar.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue index 6e28ea3..11cfcaf 100644 --- a/PAMapp/components/BackActionBar.vue +++ b/PAMapp/components/BackActionBar.vue @@ -34,7 +34,7 @@ featureLabel = '���“���'; break; case 'agentInfo': - featureLabel = '璆剖�鞈��' + featureLabel = _.isEqual(this.currentRole,Role.ADMIN) ? '���董�����' : '璆剖�鞈��' break; default: featureLabel = '�����'; @@ -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