From cbd3dd0632db02f147f27107971b6b5c22e035cf Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期二, 28 十二月 2021 12:32:55 +0800 Subject: [PATCH] [尚未完成] 編輯 AgentInfo --- PAMapp/components/BackActionBar.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue index ef98239..4ab9de3 100644 --- a/PAMapp/components/BackActionBar.vue +++ b/PAMapp/components/BackActionBar.vue @@ -10,14 +10,15 @@ <script lang="ts"> import { namespace } from 'nuxt-property-decorator'; import { Vue, Component,} from 'vue-property-decorator'; -import { Role } from '~/assets/ts/models/enum/Role'; import * as _ from 'lodash'; +import { Role } from '~/shared/models/enum/Role'; const roleStorage = namespace('localStorage'); @Component export default class UiCarousel extends Vue { @roleStorage.Getter currentRole!:string; get label(): string { + if (this.$route.name) { const routeName = this.$route.name.split('-')[0]; let featureLabel = ''; @@ -56,6 +57,9 @@ case 'consultantAccountSetting': featureLabel = '���董�����'; break; + case 'faq': + featureLabel = 'F&Q 撣貉����'; + break; } return featureLabel; } else { -- Gitblit v1.8.0