Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Jul 15, 2023
1 parent b23db79 commit 18be566
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/__VUE/swiper/index.taro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ export default create({
stopAutoPlay();
useTaroRect(container).then(
(rect: any) => {
state.rect = rect;
active = Math.min(childCount.value - 1, active);
state.width = props.width ? +props.width : rect?.width;
state.height = props.height ? +props.height : rect?.height;
Expand Down

0 comments on commit 18be566

Please sign in to comment.