From 3477e304dd54aa4bba6185a4345f2e032483a9bd Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期二, 16 十一月 2021 14:57:04 +0800 Subject: [PATCH] update 我的顧問清單/預約清單: 聯絡時段欄位調整 --- PAMapp/components/Consultant/ConsultantCard.vue | 2 +- PAMapp/components/Client/ClientCard.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMapp/components/Client/ClientCard.vue b/PAMapp/components/Client/ClientCard.vue index 23f9ec1..398ef8e 100644 --- a/PAMapp/components/Client/ClientCard.vue +++ b/PAMapp/components/Client/ClientCard.vue @@ -97,7 +97,7 @@ } get hopeContactTime() { - const contactList = this.client.hopeContactTime.split("'").map(item => item.slice(0, item.length - 1)); + const contactList = this.client.hopeContactTime.split("'").map(item => item.slice(0, item.length)); return contactList.filter(item => !!item) } diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue index f4c5d8a..8ff803e 100644 --- a/PAMapp/components/Consultant/ConsultantCard.vue +++ b/PAMapp/components/Consultant/ConsultantCard.vue @@ -135,7 +135,7 @@ get hopeContactTime() { const contactList = this.appointmentDetail.hopeContactTime - .split("'").map(item => item.slice(0, item.length - 1)); + .split("'").map(item => item.slice(0, item.length)); return contactList.filter(item => !!item) } reserveCommunication() { -- Gitblit v1.8.0