From c20a0f1a1dbaa23d1b073f9a9377cac5d572f277 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期四, 23 十二月 2021 15:10:18 +0800
Subject: [PATCH] fixed TODO#131357 進行預約: 職業選擇畫面調整

---
 PAMapp/components/Ui/UiDateFormat.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/PAMapp/components/Ui/UiDateFormat.vue b/PAMapp/components/Ui/UiDateFormat.vue
index b929e7b..7decbf2 100644
--- a/PAMapp/components/Ui/UiDateFormat.vue
+++ b/PAMapp/components/Ui/UiDateFormat.vue
@@ -20,7 +20,7 @@
         if (!this.date) return;
 
         const toDatePromise = new Promise((resolve, reject) => {
-            const date: Date = typeof(this.date) === 'string' ? new Date(this.date) : this.date;
+            const date: Date = typeof(this.date) === 'string' ? new Date(this.date) : this.date as Date;
             resolve(date);
         });
 

--
Gitblit v1.8.0