Skip to content

Commit 4581c9f

Browse files
authored
fix(Slider): fix the problem of invalid value update (#3954)
1 parent b5a5a23 commit 4581c9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/components/slider/slider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ export default class Slider extends SuperComponent {
215215
const value = trimValue(newValue, this.properties);
216216
const realLabel = this.getLabelByValue(value);
217217

218+
this.triggerValue(value);
219+
218220
const setValueAndTrigger = () => {
219221
this.setData({
220222
_value: value,

0 commit comments

Comments
 (0)