Commit 6f55d6d9 authored by 杨奕's avatar 杨奕 Committed by FuryBean

Slider: fix an inputValue initiation bug (#879)

parent e2c388fc
...@@ -223,9 +223,7 @@ ...@@ -223,9 +223,7 @@
} else if (this.value > this.max) { } else if (this.value > this.max) {
this.$emit('input', this.max); this.$emit('input', this.max);
} }
this.$nextTick(() => {
this.inputValue = this.inputValue || this.value; this.inputValue = this.inputValue || this.value;
});
} }
}; };
</script> </script>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
@e input { @e input {
float: right; float: right;
margin-top: 7px; margin-top: 3px;
} }
@e bar { @e bar {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment