Commit adc203b929858a0d67ca13d5092ba0891fe958a1
1 parent
11036a47
correct input display value
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/slider/slider.vue
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | :min="min" | 5 | :min="min" |
6 | :max="max" | 6 | :max="max" |
7 | :step="step" | 7 | :step="step" |
8 | - :value="currentValue" | 8 | + :value="currentValue[0]" |
9 | :disabled="disabled" | 9 | :disabled="disabled" |
10 | @on-change="handleInputChange"></Input-number> | 10 | @on-change="handleInputChange"></Input-number> |
11 | <div :class="[prefixCls + '-wrap']" ref="slider" @click.self="sliderClick"> | 11 | <div :class="[prefixCls + '-wrap']" ref="slider" @click.self="sliderClick"> |