-
Notifications
You must be signed in to change notification settings - Fork 202
feat(Swiper): add boolean type to navigation api and optimize code
#2060
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
base: develop
Are you sure you want to change the base?
Conversation
commit: |
|
@RSS1102 流水线挂了 |
收到,我看下。 |
boolean type support for navigation apiboolean type to navigation api and optimize code
|
/update-snapshot |
|
⏳ 正在运行快照更新。。。 CI: Open |
1e67c3e to
fb0bd0b
Compare
| if (!props.navigation) return false; | ||
|
|
||
| // navigation 为对象时,检查 minShowNum 配置 | ||
| if (typeof props.navigation === 'object') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
props.navigation === true 也要进这个条件吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果显示声明 props.navigation=false 那他应该就是要禁止导航器吧
|
@RSS1102 showControls 的示例,改一下配置 |


🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
📝 更新日志
feat(Swiper):
navigation属性扩展支持boolean类型本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单