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

Table 组件 showHeader 属性的问题 #4658

Closed
lucky3mvp opened this issue Jan 20, 2017 · 1 comment
Closed

Table 组件 showHeader 属性的问题 #4658

lucky3mvp opened this issue Jan 20, 2017 · 1 comment
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@lucky3mvp
Copy link

lucky3mvp commented Jan 20, 2017

  • antd version: 2.6.3
  • OS and its version: mac
  • Browser and its version: chrome

What did you do? Please provide steps to re-produce your problem.

antd 2.6.3 版本:

api 文档上写的 showHeader 的默认值是 true,

生成的 table 中虽然页面显示了表头,但是 table 本身却多了一个 ‘ ant-table-without-column-header ’ 这个类,

这个类设置了 table 的 border-radius 为 0 ,这就导致了在表头左上角和右上角的圆角看上去像是缺失了几个像素一样

官方的这个例子 请仔细看左上角和右上角,圆角有一些问题

PS:之前用的 antd 2.5.3 是没有出现这个问题的,更新到2.6.3之后就有了,以及如果自己在代码中显示的再设置一次showHeader为true,也不会有圆角的问题

@lucky3mvp lucky3mvp changed the title Table 组件 showHeader 属性 Table 组件 showHeader 属性的 bug Jan 20, 2017
@lucky3mvp lucky3mvp changed the title Table 组件 showHeader 属性的 bug Table 组件 showHeader 属性的问题 Jan 20, 2017
@afc163 afc163 self-assigned this Jan 20, 2017
@afc163 afc163 added 🐛 Bug Ant Design Team had proved that this is a bug. Style labels Jan 20, 2017
@afc163 afc163 closed this as completed in fae7fd1 Jan 20, 2017
@lock
Copy link

lock bot commented May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants