[update] 时间插件增加showTime属性

This commit is contained in:
fengchenchen
2021-09-16 16:22:20 +08:00
parent 794d09e528
commit 998c7634ee
+6 -2
View File
@@ -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 () {