ant-design-mobile icon indicating copy to clipboard operation
ant-design-mobile copied to clipboard

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

Open Jarryxin opened this issue 2 years ago • 4 comments

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

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

Jarryxin avatar Jan 22 '24 10:01 Jarryxin

fix #6518

Jarryxin avatar Jan 22 '24 10:01 Jarryxin

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

github-actions[bot] avatar Jan 22 '24 10:01 github-actions[bot]

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.

codecov[bot] avatar Jan 22 '24 11:01 codecov[bot]

@zombieJ 期待 review

Jarryxin avatar Jan 22 '24 11:01 Jarryxin