From 49e325f40f9721521de975fdd5f3d37f6fe78852 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期五, 24 十二月 2021 09:15:12 +0800 Subject: [PATCH] [fix] 調整簡訊標題,需中文10字以內並為base64編碼 --- 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