Commit e6029f1d5dca92539c72e2c9c38a5390b5f62dd2
1 parent
54faea37
Fix: Missing steps attribute in time range.
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
src/components/date-picker/panel/time-range.vue
| ... | ... | @@ -8,6 +8,7 @@ |
| 8 | 8 | </div> |
| 9 | 9 | <time-spinner |
| 10 | 10 | ref="timeSpinner" |
| 11 | + :steps="steps" | |
| 11 | 12 | :show-seconds="showSeconds" |
| 12 | 13 | :hours="hours" |
| 13 | 14 | :minutes="minutes" |
| ... | ... | @@ -26,6 +27,7 @@ |
| 26 | 27 | </div> |
| 27 | 28 | <time-spinner |
| 28 | 29 | ref="timeSpinnerEnd" |
| 30 | + :steps="steps" | |
| 29 | 31 | :show-seconds="showSeconds" |
| 30 | 32 | :hours="hoursEnd" |
| 31 | 33 | :minutes="minutesEnd" |
| ... | ... | @@ -60,6 +62,12 @@ |
| 60 | 62 | name: 'TimePicker', |
| 61 | 63 | mixins: [ Mixin, Locale ], |
| 62 | 64 | components: { TimeSpinner, Confirm }, |
| 65 | + props: { | |
| 66 | + steps: { | |
| 67 | + type: Array, | |
| 68 | + default: () => [] | |
| 69 | + } | |
| 70 | + }, | |
| 63 | 71 | data () { |
| 64 | 72 | return { |
| 65 | 73 | prefixCls: prefixCls, | ... | ... |