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

CalendarPickerView设置min值&&value/defaultValue时,视图优先渲染value/defaultValue值,新增scrollTo API支持跳转到指定日期 #6528

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Jarryxin
Copy link
Contributor

feat(CalendarPickerView): 设置min值并且设置了value/defaultValue时,视图优先渲染value/defaultValue值,新增scrollTo API支持跳转到指定日期。
较其它同学的提交区别:

  1. 展示区域是当前月份,显示更完整
  2. 设置min值会优先渲染value/defaultValue值

@Jarryxin
Copy link
Contributor Author

fix #6518

Copy link
Contributor

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6528.surge.sh

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (19d5a4b) 92.27% compared to head (1934d52) 92.23%.
Report is 2 commits behind head on master.

Files Patch % Lines
src/components/calendar-picker/calendar-picker.tsx 55.55% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6528      +/-   ##
==========================================
- Coverage   92.27%   92.23%   -0.04%     
==========================================
  Files         316      316              
  Lines        6897     6914      +17     
  Branches     1728     1734       +6     
==========================================
+ Hits         6364     6377      +13     
- Misses        497      501       +4     
  Partials       36       36              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jarryxin
Copy link
Contributor Author

@zombieJ 期待 review

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.

None yet

1 participant