[update] 时间插件增加showTime属性
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
@change="handleDateChange"
|
@change="handleDateChange"
|
||||||
:value="momVal"
|
:value="momVal"
|
||||||
:showTime="true"
|
:showTime="showTime"
|
||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
v-on="childListeners"
|
v-on="childListeners"
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
@change="handleDateChange"
|
@change="handleDateChange"
|
||||||
:value="momVal"
|
:value="momVal"
|
||||||
:showTime="false"
|
:showTime="showTime"
|
||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
v-on="childListeners"
|
v-on="childListeners"
|
||||||
@@ -98,6 +98,10 @@
|
|||||||
getCalendarContainer: {
|
getCalendarContainer: {
|
||||||
type: Function,
|
type: Function,
|
||||||
default: (node) => node.parentNode
|
default: (node) => node.parentNode
|
||||||
|
},
|
||||||
|
showTime:{
|
||||||
|
type: [Boolean, Object],
|
||||||
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|||||||
Reference in New Issue
Block a user