Correct passing of confirm
prop, correct initial values when no value is passed
This commit is contained in:
parent
732b32e451
commit
29a91fbb61
5 changed files with 20 additions and 20 deletions
|
@ -7,9 +7,9 @@
|
|||
ref="timeSpinner"
|
||||
:show-seconds="showSeconds"
|
||||
:steps="steps"
|
||||
:hours="date.getHours()"
|
||||
:minutes="date.getMinutes()"
|
||||
:seconds="date.getSeconds()"
|
||||
:hours="value[0] && date.getHours()"
|
||||
:minutes="value[0] && date.getMinutes()"
|
||||
:seconds="value[0] && date.getSeconds()"
|
||||
:disabled-hours="disabledHours"
|
||||
:disabled-minutes="disabledMinutes"
|
||||
:disabled-seconds="disabledSeconds"
|
||||
|
@ -63,8 +63,7 @@
|
|||
prefixCls: prefixCls,
|
||||
timePrefixCls: timePrefixCls,
|
||||
date: this.value[0] || initTimeDate(),
|
||||
showDate: false,
|
||||
confirm: false
|
||||
showDate: false
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue