PAMapp/components/BackActionBar.vue
@@ -34,7 +34,7 @@ featureLabel = '我的顧問清單'; break; case 'agentInfo': featureLabel = '業務員資訊' featureLabel = _.isEqual(this.currentRole,Role.ADMIN) ? '查看帳號資訊' : '業務員資訊' break; default: featureLabel = '回首頁'; @@ -60,9 +60,12 @@ return '回首頁'; } } pushRouterByLoginRole():void{ this.$router.go(-1); const pathName = this.$route.name; pathName?.includes('myConsultantList') ? this.$router.push('/') : this.$router.go(-1); } } </script>