保誠-保戶業務員媒合平台
wayne
2021-11-30 202f69ff07a2840a9746cda72361f0f67a20a85a
PAMapp/components/NavBar.vue
@@ -41,6 +41,8 @@
  @Component
  export default class NavBar extends Vue {
    @roleStorage.Mutation storageClear!: () => void;
    @roleStorage.Mutation storageClearQuickFilter!: () => void;
    @roleStorage.Mutation storageClearRecommendConsultant!: () => void;
    @roleStorage.Getter idToken!: string | null;
    @roleStorage.Getter currentRole!: string | null;
@@ -104,6 +106,8 @@
    // TODO: 僅OTP認證開發前 暫時使用
    fakeLogout(): void {
      this.storageClear();
      this.storageClearQuickFilter();
      this.storageClearRecommendConsultant();
      _.isEqual(this.$route.name, 'index') ? location.reload() : this.$router.push('/');
    }
  }