From 707b43ca15d380db9b6a72c3a63abc2d7b0efc83 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期一, 20 十二月 2021 12:16:43 +0800 Subject: [PATCH] update: 增加 userReviewsRecord 標題名稱 --- PAMapp/components/NavBar.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMapp/components/NavBar.vue b/PAMapp/components/NavBar.vue index f635551..6e3d2ab 100644 --- a/PAMapp/components/NavBar.vue +++ b/PAMapp/components/NavBar.vue @@ -90,8 +90,8 @@ login_role = Role.NOT_LOGIN; isOpenDropdown = false; - get loginRole(): string { - return this.idToken && this.currentRole ? this.currentRole : Role.NOT_LOGIN; + get loginRole(): Role { + return this.idToken && this.currentRole ? (this.currentRole as Role): Role.NOT_LOGIN; } routerNavigateTo(url: string): void { -- Gitblit v1.8.0