From c8c18ece009bafdcac9ed73446d8c2d4fbbf3256 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期三, 19 一月 2022 09:16:20 +0800 Subject: [PATCH] fixed TODO#134382 新增約訪紀錄: "defaultValue" is not defined error --- PAMapp/components/BackActionBar.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/PAMapp/components/BackActionBar.vue b/PAMapp/components/BackActionBar.vue index f154324..0f628c3 100644 --- a/PAMapp/components/BackActionBar.vue +++ b/PAMapp/components/BackActionBar.vue @@ -68,6 +68,9 @@ case 'accountSetting': featureLabel = '�犖撣唾�身摰�'; break; + case 'appointmentAgenda': + featureLabel = '�撠�赤����'; + break; case 'consultantAccountSetting': featureLabel = '���董�����'; break; @@ -76,7 +79,13 @@ break; case 'appointment': const appointmentFeatureLabel = this.$route.name.includes('close') ? '蝯��' : '������'; - featureLabel = appointmentFeatureLabel; + const inInterview = this.$route.name.includes('interview'); + const addNewInterview = this.$route.name.includes('new'); + if (inInterview) { + featureLabel = addNewInterview ? '�憓�赤蝝����' : '蝺刻摩蝝赤蝝����'; + } else { + featureLabel = appointmentFeatureLabel; + } break; } return featureLabel; -- Gitblit v1.8.0