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

refactor: fieldName index change and tree-select use hook #6248

Merged
merged 2 commits into from
Jul 14, 2023
Merged

refactor: fieldName index change and tree-select use hook #6248

merged 2 commits into from
Jul 14, 2023

Conversation

1587315093
Copy link
Contributor

@1587315093 1587315093 commented Jul 14, 2023

tree-select 的 FieldNames 处理,复用hook了
hook 返回的顺序调了,因为感觉 disabled 这个 key 不是特别通用。。。

@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01 ⚠️

Comparison is base (45b7bb6) 91.05% compared to head (930ebc2) 91.05%.

Additional details and impacted files
@@             Coverage Diff             @@
##           feature    #6248      +/-   ##
===========================================
- Coverage    91.05%   91.05%   -0.01%     
===========================================
  Files          307      307              
  Lines         6596     6595       -1     
  Branches      1648     1645       -3     
===========================================
- Hits          6006     6005       -1     
  Misses         544      544              
  Partials        46       46              
Impacted Files Coverage Δ
src/components/cascader-view/cascader-view.tsx 94.52% <100.00%> (ø)
src/components/tree-select/tree-select.tsx 98.30% <100.00%> (-0.03%) ⬇️
src/hooks/useFieldNames.tsx 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

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

@zombieJ zombieJ merged commit 5c37f06 into ant-design:feature Jul 14, 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.

2 participants