Skip to content

Conversation

Yuiai01
Copy link
Contributor

@Yuiai01 Yuiai01 commented Feb 25, 2023

close ant-design/ant-design#40906

在都被禁用的情况下会使用默认值,但是在单个被禁用的情况下由于传入空数组导致被重新赋值,因此判断如果存在传入值那么就不再进行重新赋值。

@vercel
Copy link

vercel bot commented Feb 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
picker ❌ Failed (Inspect) Mar 9, 2023 at 0:39AM (UTC)

@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Merging #594 (1b215a8) into master (730dd9a) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 1b215a8 differs from pull request most recent head 17367fc. Consider uploading reports for the commit 17367fc to get more accurate results

@@           Coverage Diff           @@
##           master     #594   +/-   ##
=======================================
  Coverage   99.33%   99.33%           
=======================================
  Files          49       49           
  Lines        2257     2257           
  Branches      674      674           
=======================================
  Hits         2242     2242           
  Misses         13       13           
  Partials        2        2           
Impacted Files Coverage Δ
src/RangePicker.tsx 99.76% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@afc163
Copy link
Member

afc163 commented Mar 6, 2023

需要测试用例

@Yuiai01
Copy link
Contributor Author

Yuiai01 commented Mar 6, 2023

需要测试用例

好~

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.

RangePicker结合Form使用设置disabled={[false, true]}默认带出当前时间,且无法清空

3 participants