CalendarPickerView设置min值&&value/defaultValue时,视图优先渲染value/defaultValue值,新增scrollTo API支持跳转到指定日期
feat(CalendarPickerView): 设置min值并且设置了value/defaultValue时,视图优先渲染value/defaultValue值,新增scrollTo API支持跳转到指定日期。 较其它同学的提交区别:
- 展示区域是当前月份,显示更完整
- 设置min值会优先渲染value/defaultValue值
fix #6518
PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6528.surge.sh
Codecov Report
Attention: Patch coverage is 78.94737% with 4 lines in your changes missing coverage. Please review.
Project coverage is 92.23%. Comparing base (
19d5a4b) to head (1934d52). Report is 50 commits behind head on master.
| Files | Patch % | Lines |
|---|---|---|
| src/components/calendar-picker/calendar-picker.tsx | 55.55% | 4 Missing :warning: |
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
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@zombieJ 期待 review