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(form): fix SchemaForm title function #2826

Merged
merged 1 commit into from
May 25, 2021
Merged

fix(form): fix SchemaForm title function #2826

merged 1 commit into from
May 25, 2021

Conversation

hui5
Copy link
Contributor

@hui5 hui5 commented May 24, 2021

修改了title function, 使其和文档、table columns定义一致

提交后的title , 跟table columns 比,缺少默认使用 <LabelIconTip label={title} tooltip={item.tooltip || item.tip} />

这个最好是,直接调用table里的 renderColumnsTitle 方法, 但这样包之间就多了依赖,也可以把renderColumnsTitle 放到pro-utils。 我对代码还是不太熟悉, 只能提一下自己看到的。

@github-actions
Copy link

github-actions bot commented May 24, 2021

🎊 PR Preview has been successfully built and deployed to https://pro-components-preview-pr-2826.surge.sh

@codecov
Copy link

codecov bot commented May 25, 2021

Codecov Report

Merging #2826 (824276e) into master (3e91a23) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2826    /-   ##
=======================================
  Coverage   99.07%   99.07%           
=======================================
  Files         173      173           
  Lines        5277     5278     1     
  Branches     1894     1895     1     
=======================================
  Hits         5228     5229     1     
  Misses         48       48           
  Partials        1        1           
Impacted Files Coverage Δ
packages/form/src/components/SchemaForm/index.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e91a23...824276e. Read the comment docs.

@chenshuai2144 chenshuai2144 merged commit 7a48544 into ant-design:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants