Closed oasis-cloud closed 2 weeks ago
此次更改涉及 src/packages/pagination/demos/taro/demo5.tsx
文件中的 Demo5
组件。主要修改内容是对 Pagination
组件的 prev
和 next
属性的处理。之前,这些属性根据 harmonyAndRn()
函数的返回结果有条件地渲染 ArrowLeft
和 ArrowRight
图标。更新后的代码始终渲染这两个图标,完全移除了条件逻辑,从而简化了控制流,确保分页组件中始终存在导航箭头。
文件路径 | 更改摘要 |
---|---|
src/packages/pagination/demos/taro/demo5.tsx |
移除 prev 和 next 属性的条件渲染,始终渲染 ArrowLeft 和 ArrowRight 图标。 |
size/S
, 2.x
在分页的世界里,我跳跃,
箭头总在,指引不变的路。
无需条件,快乐无忧,
小兔子欢舞,乐在其中。
每一步都轻松,前往新奇的处! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.95%. Comparing base (
16b173e
) to head (a27f11a
). Report is 1 commits behind head on V3.0.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
☑️ 请求合并前的自查清单
⚠️ 请自检并全部勾选全部选项。⚠️
Summary by CodeRabbit