From 998c7634ee2a26a8ed22336a862bdc2ff8a9338c Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Thu, 16 Sep 2021 16:22:20 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=97=B6=E9=97=B4=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0showTime=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jero/JDate.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/jero/JDate.vue b/src/components/jero/JDate.vue index e9c86c8..04ea891 100644 --- a/src/components/jero/JDate.vue +++ b/src/components/jero/JDate.vue @@ -9,7 +9,7 @@ :placeholder="placeholder" @change="handleDateChange" :value="momVal" - :showTime="true" + :showTime="showTime" :format="dateFormat" v-bind="$attrs" v-on="childListeners" @@ -24,7 +24,7 @@ :placeholder="placeholder" @change="handleDateChange" :value="momVal" - :showTime="false" + :showTime="showTime" :format="dateFormat" v-bind="$attrs" v-on="childListeners" @@ -98,6 +98,10 @@ getCalendarContainer: { type: Function, default: (node) => node.parentNode + }, + showTime:{ + type: [Boolean, Object], + default: false } }, data () {