fix(Slider): should format initial value (#4337)
This commit is contained in:
@@ -40,6 +40,11 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
// format initial value
|
||||
this.updateValue(this.value);
|
||||
},
|
||||
|
||||
methods: {
|
||||
onTouchStart(event) {
|
||||
if (this.disabled) {
|
||||
|
||||
Reference in New Issue
Block a user