保誠-保戶業務員媒合平台
Mila
2021-12-14 18098111cc905e88524e7d9ce788b742637e0824
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>