fix(Slider): should format initial value (#4337)

This commit is contained in:
neverland
2019-09-03 11:57:48 +08:00
committed by GitHub
parent 390e89fca2
commit 45d60aaf88
6 changed files with 29 additions and 5 deletions
+5
View File
@@ -40,6 +40,11 @@ export default createComponent({
}
},
created() {
// format initial value
this.updateValue(this.value);
},
methods: {
onTouchStart(event) {
if (this.disabled) {