保誠-保戶業務員媒合平台
Tomas
2021-11-12 aa65d781e3187ae394b1b6b5a1dd2a3b2d12777b
fixed: [date-filter] 處理無資料的回傳值
修改1個檔案
4 ■■■■ 已變更過的檔案
PAMapp/plugins/filters/date.filter.ts 4 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/plugins/filters/date.filter.ts
@@ -14,6 +14,10 @@
    return compareDate.getFullYear() === today.getFullYear();
  }
  if (!value) {
    return '尚無紀錄';
  }
  if (isThisYear(date)) {
    return isToday(date)
          ? `今天 ${date.getHours()}:${date.getMinutes()}`