Skip to content

Commit

Permalink
fix(uni-app-x): web端slider value修改时未修改显示数值的Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Dec 28, 2023
1 parent d91cf88 commit 9d8af82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/uni-components/src/vue/slider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ export default /*#__PURE__*/ defineBuiltInComponent({
;(
rootElement.querySelector('.uni-slider-thumb') as HTMLElement
).style.left = width
;(
rootElement.querySelector('.uni-slider-value') as HTMLElement
).innerText = val.toString()
},
})
rootElement.attachVmProps(props)
Expand Down

0 comments on commit 9d8af82

Please sign in to comment.