mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(Slider): support update value prop dynamic @rex-zsd (#863)
This commit is contained in:
parent
0cff00bdcc
commit
a1e8616e15
@ -28,6 +28,12 @@ VantComponent({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
watch: {
|
||||||
|
value(value) {
|
||||||
|
this.updateValue(value, false);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.updateValue(this.data.value);
|
this.updateValue(this.data.value);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user