From 544f91e63a01f37e7b79db99609eec99b1afafd9 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期一, 13 十二月 2021 11:07:31 +0800 Subject: [PATCH] fixed: 使用 isUserLogin / isAdminLogin 判斷顧問/客戶是否登入 --- PAMapp/components/BackActionBar.vue | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue index 83d03bb..11cfcaf 100644 --- a/PAMapp/components/BackActionBar.vue +++ b/PAMapp/components/BackActionBar.vue @@ -1,6 +1,6 @@ <template> <nav class="pam-back-action-bar fix-chrome-click--issue"> - <a @click="pushRouterByLoginRole" v-if="questionnaireState"> + <a @click="pushRouterByLoginRole"> <i class="icon-left "></i>{{ label }} </a> </nav> @@ -16,7 +16,6 @@ @Component export default class UiCarousel extends Vue { @roleStorage.Getter currentRole!:string; - questionnaireState: boolean = true; get label(): string { if (this.$route.name) { const routeName = this.$route.name.split('-')[0]; @@ -67,9 +66,6 @@ pathName?.includes('myConsultantList') ? this.$router.push('/') : this.$router.go(-1); } - set label(value) { - this.questionnaireState = value === '�脰����' ? this.currentRole === Role.USER : true; - } } </script> -- Gitblit v1.8.0