保誠-保戶業務員媒合平台
Mila
2021-12-14 18098111cc905e88524e7d9ce788b742637e0824
PAMapp/components/BackActionBar.vue
@@ -62,10 +62,10 @@
  }
  pushRouterByLoginRole():void{
    const backToPrevious = ['recommendConsultant-result', 'agentInfo-agentNo', 'questionnaire-agentNo'];
    const find = backToPrevious.findIndex(item => this.$route.name?.includes(item));
    find > -1 ? this.$router.go(-1) : this.$router.push('/');
    const pathName = this.$route.name;
    pathName?.includes('myConsultantList') ? this.$router.push('/') : this.$router.go(-1);
  }
}
</script>