保誠-保戶業務員媒合平台
Mila
2022-01-25 a0bf1695dc0ae47dd3557b3b751512286e3364e7
PAMapp/components/NavBar.vue
@@ -142,18 +142,10 @@
    @Watch('$route', {immediate: true})
    onRouterChange() {
        this.getNotificationAndReviewLog();
    }
    private getNotificationAndReviewLog() {
      if (this.isUserLogin) {
        this.storeMyPersonalNotification();
        this.storeMyAppointmentReviewLog();
      }
      if (this.isAdminLogin) {
        this.storeMyPersonalNotification();
      }
        if (this.currentRole) {
          this.storeMyPersonalNotification();
          this.storeMyAppointmentReviewLog();
        }
    }
    //////////////////////////////////////////////////////////////////////