mirror of https://github.com/ElemeFE/element
Slider: fix an inputValue initiation bug (#879)
parent
e2c388fcf9
commit
6f55d6d9af
|
@ -223,9 +223,7 @@
|
|||
} else if (this.value > this.max) {
|
||||
this.$emit('input', this.max);
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.inputValue = this.inputValue || this.value;
|
||||
});
|
||||
this.inputValue = this.inputValue || this.value;
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
@e input {
|
||||
float: right;
|
||||
margin-top: 7px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
@e bar {
|
||||
|
|
Loading…
Reference in New Issue