From 4b38e2fdc99e681edfd5ec5d923a9ca8b8de8d38 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期六, 05 八月 2023 16:40:18 +0800 Subject: [PATCH] Fixed: [弱掃] p9.1 Indentation does not match nesting level --- PAMapp/components/Consultant/ConsultantCard.vue | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue index f034cbd..9163cea 100644 --- a/PAMapp/components/Consultant/ConsultantCard.vue +++ b/PAMapp/components/Consultant/ConsultantCard.vue @@ -76,7 +76,7 @@ <p>�批嚗{gender}}</p> <p>撟湧翩嚗{appointmentDetail.age | toAgeLabel }}</p> <p>�璆哨�{appointmentDetail.job}}</p> - <p>隢株岷�撘�{appointmentDetail.consultationMethod | toConsulType }}</p> + <p>隢株岷�撘�{appointmentDetail.consultationMethod | toConsultationMethod }}</p> <p>��瘙�{appointmentDetail.requirement ? appointmentDetail.requirement.split(',').join('��') : '--'}}</p> <p v-for="(item, index) in hopeContactTime" @@ -175,15 +175,15 @@ return upperNumber[index]; } }, - formatHopeContactTime(item: string): string { + formatHopeContactTime(item: string): string { if (item) { - const [hopeDay, hopeTime] = item.split('��'); - const day = hopeDay.split(',').length > 6 ? '銝����' : hopeDay; - const time = hopeTime.split(',').length > 3 ? '銝����' : hopeTime; - return `${day}��${time}`; - } - return ''; + const [hopeDay, hopeTime] = item.split('��'); + const day = hopeDay.split(',').length > 6 ? '銝����' : hopeDay; + const time = hopeTime.split(',').length > 3 ? '銝����' : hopeTime; + return `${day}��${time}`; } + return ''; // 靽格迤嚗宏� if (item) ��� + }, } }) export default class ConsultantCard extends Vue { -- Gitblit v1.8.0