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

fix: onMetaChange trigger when meta not changed #604

Merged
merged 2 commits into from
Jul 14, 2023
Merged

fix: onMetaChange trigger when meta not changed #604

merged 2 commits into from
Jul 14, 2023

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Jul 14, 2023

收到 observer 通知时会触发一次 metaChange,但是对于不影响的 Field 不应该去触发。

fix ant-design/ant-design#43557

@vercel
Copy link

vercel bot commented Jul 14, 2023

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

Name Status Preview Updated (UTC)
field-form ❌ Failed (Inspect) Jul 14, 2023 0:23am

@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Merging #604 (743f640) into master (18c4e0b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 743f640 differs from pull request most recent head 8bf6c02. Consider uploading reports for the commit 8bf6c02 to get more accurate results

@@           Coverage Diff           @@
##           master     #604   +/-   ##
=======================================
  Coverage   99.82%   99.82%           
=======================================
  Files          15       15           
  Lines        1127     1133    +6     
  Branches      255      241   -14     
=======================================
+ Hits         1125     1131    +6     
  Misses          2        2           
Impacted Files Coverage Δ
src/Field.tsx 100.00% <100.00%> (ø)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants