Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Dec 6, 2023
1 parent ee59e92 commit 9f459ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/packages/__VUE/range/index.taro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ export default create({
const { min, modelValue } = props;
useTaroRect(root).then(
(rect: any) => {
state.value.width = rect.width;
state.value.height = rect.height;
let clientX, clientY;
if (Taro.getEnv() === Taro.ENV_TYPE.WEB) {
clientX = event.clientX;
Expand Down

0 comments on commit 9f459ce

Please sign in to comment.