Skip to content

Conversation

@RSS1102
Copy link
Collaborator

@RSS1102 RSS1102 commented Oct 30, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feat(Swiper): navigation 属性扩展支持 boolean 类型

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@RSS1102 RSS1102 marked this pull request as draft October 30, 2025 17:18
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 30, 2025

commit: cc4dd88

@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2025

完成

@anlyyao
Copy link
Collaborator

anlyyao commented Nov 13, 2025

@RSS1102 流水线挂了

@RSS1102
Copy link
Collaborator Author

RSS1102 commented Nov 13, 2025

@RSS1102 流水线挂了

收到,我看下。

@RSS1102 RSS1102 changed the title feat(Swiper): add boolean type support for navigation api feat(Swiper): add boolean type to navigation api and optimize code Nov 17, 2025
@RSS1102 RSS1102 marked this pull request as ready for review November 27, 2025 02:09
@RSS1102
Copy link
Collaborator Author

RSS1102 commented Dec 9, 2025

/update-snapshot

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

⏳ 正在运行快照更新。。。 CI: Open

@RSS1102 RSS1102 force-pushed the rss1102/feat/navigation/boolean branch from 1e67c3e to fb0bd0b Compare December 9, 2025 07:27
if (!props.navigation) return false;

// navigation 为对象时,检查 minShowNum 配置
if (typeof props.navigation === 'object') {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

props.navigation === true 也要进这个条件吧

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果显示声明 props.navigation=false 那他应该就是要禁止导航器吧

@anlyyao
Copy link
Collaborator

anlyyao commented Dec 9, 2025

@RSS1102 showControls 的示例,改一下配置

{ showControls: true, paginationPosition: 'bottom' }"
截屏2025-12-09 19 21 54

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.

3 participants