From 202f69ff07a2840a9746cda72361f0f67a20a85a Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期二, 30 十一月 2021 19:47:10 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- PAMapp/components/NavBar.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/PAMapp/components/NavBar.vue b/PAMapp/components/NavBar.vue index d9dfe90..e55c62c 100644 --- a/PAMapp/components/NavBar.vue +++ b/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; @@ -55,13 +57,18 @@ title: '�犖撣唾�身摰�', }, { - authorityOfRoleList: [Role.ADMIN], - routeUrl: '/notFinish', + authorityOfRoleList:[Role.ADMIN], + routeUrl: '/consultantAccountSetting', title: '���董�����', }, { - authorityOfRoleList: [Role.USER, Role.ADMIN], - routeUrl: '/record/contactRecord', + authorityOfRoleList:[Role.ADMIN], + routeUrl: '/record', + title: '�������', + }, + { + authorityOfRoleList: [Role.USER], + routeUrl: '/userReviewsRecord', title: '�������', }, { @@ -99,6 +106,8 @@ // TODO: ��TP隤����� ���蝙� fakeLogout(): void { this.storageClear(); + this.storageClearQuickFilter(); + this.storageClearRecommendConsultant(); _.isEqual(this.$route.name, 'index') ? location.reload() : this.$router.push('/'); } } -- Gitblit v1.8.0