Commit 6af235b13ae5461420d88ebc0a9b40cd3768275c

Authored by Aresn
Committed by GitHub
2 parents 54faea37 e6029f1d

Merge pull request #2580 from Xotic750/2.0

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,
... ...