保誠-保戶業務員媒合平台
Tomas
2021-12-15 2961569ad7a13d74bd55b33c588d22a7bb1f705d
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>