Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复swiper在item数量太少时无法循环的问题 #16737

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

ZEJIA-LIU
Copy link
Contributor

@ZEJIA-LIU ZEJIA-LIU commented Oct 24, 2024

这个 PR 做了什么? (简要描述所做更改)
修复swiper在item数量太少时无法循环的问题

这个 PR 是什么类型? (至少选择一个)

  • 错误修复(Bugfix) issue: fix #
  • 新功能(Feature)
  • 代码重构(Refactor)
  • TypeScript 类型定义修改(Typings)
  • 文档修改(Docs)
  • 代码风格更新(Code style update)
  • 其他,请描述(Other, please describe):

这个 PR 涉及以下平台:

  • 所有小程序
  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 字节跳动小程序
  • QQ 轻应用
  • 京东小程序
  • 快应用平台(QuickApp)
  • Web 平台(H5)
  • 移动端(React-Native)
  • 鸿蒙(harmony)

@ZEJIA-LIU ZEJIA-LIU added this to the 4.0.7 milestone Oct 24, 2024
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 58.50%. Comparing base (acaf859) to head (19b4a2b).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...s/taro-components/src/components/swiper/swiper.tsx 80.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #16737      +/-   ##
==========================================
- Coverage   58.51%   58.50%   -0.01%     
==========================================
  Files         466      466              
  Lines       27110    27107       -3     
  Branches     5912     5917       +5     
==========================================
- Hits        15863    15860       -3     
+ Misses       9867     9744     -123     
- Partials     1380     1503     +123     
Flag Coverage Δ
taro-cli 73.67% <ø> (ø)
taro-runtime 59.87% <ø> (ø)
taro-web 52.68% <80.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...s/taro-components/src/components/swiper/swiper.tsx 33.77% <80.00%> (-0.88%) ⬇️

... and 19 files with indirect coverage changes

@ZEJIA-LIU ZEJIA-LIU merged commit c378497 into main Oct 25, 2024
38 checks passed
@ZEJIA-LIU ZEJIA-LIU deleted the fix/swiper-loop branch October 25, 2024 03:34
This was referenced Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants