From 95d0e5524c3ab1e55a9909e2c38e7cc35901220f Mon Sep 17 00:00:00 2001 From: 劉鈞霖 <benson@gmail.com> Date: 星期三, 15 十二月 2021 14:52:58 +0800 Subject: [PATCH] [ Update ] :新增 pamService class 將 consultant interface 移出 --- PAMapp/pages/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/PAMapp/pages/index.vue b/PAMapp/pages/index.vue index 4bd0a61..1101b8f 100644 --- a/PAMapp/pages/index.vue +++ b/PAMapp/pages/index.vue @@ -66,7 +66,7 @@ onMyConsultantListChange() { this.consultantList = (this.myConsultantList || []) .filter(item => item.contactStatus !== 'contacted') - .map((item) => ({ ...item, formatDate: new Date(item.updateTime)})) + .map((item) => ({ ...item, formatDate: new Date(item.updateTime || item.createTime)})) .sort((preItem, nextItem) => +nextItem.formatDate - +preItem.formatDate) } -- Gitblit v1.8.0