{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/3935","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/3935/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/3935/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/3935/events","html_url":"https://github.com/ant-design/ant-design/issues/3935","id":190631514,"number":3935,"title":"使用Table组件，内容无法展示","user":{"login":"jinmmd","id":480907,"avatar_url":"https://avatars.githubusercontent.com/u/480907?v=3","gravatar_id":"","url":"https://api.github.com/users/jinmmd","html_url":"https://github.com/jinmmd","followers_url":"https://api.github.com/users/jinmmd/followers","following_url":"https://api.github.com/users/jinmmd/following{/other_user}","gists_url":"https://api.github.com/users/jinmmd/gists{/gist_id}","starred_url":"https://api.github.com/users/jinmmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinmmd/subscriptions","organizations_url":"https://api.github.com/users/jinmmd/orgs","repos_url":"https://api.github.com/users/jinmmd/repos","events_url":"https://api.github.com/users/jinmmd/events{/privacy}","received_events_url":"https://api.github.com/users/jinmmd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T06:38:05Z","updated_at":"2016-11-21T07:57:02Z","closed_at":null,"body":"<!-- Issue Template -->\r\n\r\n<!--\r\nantd 的用法咨询，建议通过以下渠道，官方 issues 目前没有足够精力提供此类咨询服务：\r\n\r\n1. [Stack Overflow](http://stackoverflow.com/questions/tagged/antd)\r\n2. [Segment Fault](https://segmentfault.com/t/antd)（中文）\r\n3. [Gitter](https://gitter.im/ant-design/ant-design)\r\n\r\n如果是报告 bug，请按照下列格式书写，并务必提供复现步骤，否则恕难解决，感谢您的支持。\r\n-->\r\n\r\n#### 发生问题的环境是：\r\n\r\n<!-- 务必提供 -->\r\n\r\n- antd 版本: 2.4.3\r\n- 操作系统及其版本: win7\r\n- 浏览器及其版本: chrome 54\r\n\r\n#### 您做了什么？请提供尽可能详细的重现步骤。\r\n\r\n引入Table组件，按demo编写代码，console无错误，例如：\r\n```\r\nconst dataSource = [{\r\n  key: '1',\r\n  name: '胡彦斌',\r\n  age: 32,\r\n  address: '西湖区湖底公园1号'\r\n}, {\r\n  key: '2',\r\n  name: '胡彦祖',\r\n  age: 42,\r\n  address: '西湖区湖底公园1号'\r\n}];\r\n\r\nconst columns = [{\r\n  title: '姓名',\r\n  dataIndex: 'name',\r\n  key: 'name',\r\n}, {\r\n  title: '年龄',\r\n  dataIndex: 'age',\r\n  key: 'age',\r\n}, {\r\n  title: '住址',\r\n  dataIndex: 'address',\r\n  key: 'address',\r\n}];\r\n\r\n<Table dataSource={dataSource} columns={columns} />\r\n```\r\n<!-- 如：引入 antd 了 Button -->\r\n\r\n#### 您期待的结果是:\r\n\r\n出现表格内容\r\n<!-- 如：像官网一样正常显示 -->\r\n\r\n#### 实际上的结果是:\r\n\r\n一片空白\r\n\r\n使用开发者工具查看，是由于table的父节点div带有“clearfix”样式，导致内容无法显示。以及，其他dom节点都包含class：“ant-spin-nested-loading”。\r\n\r\n请帮忙查看下是否有问题。\r\n\r\n![2016-11-21_144110](https://cloud.githubusercontent.com/assets/480907/20472981/9b3a0a94-aff8-11e6-8f70-a3e741f8b17f.png)\r\n\r\n<!-- 如：样式错位了，最好提供截图 -->\r\n\r\n#### 可重现的在线演示\r\n\r\n<!-- 请修改并 Fork http://codepen.io/benjycui/pen/KgPZrE?editors=001 -->\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/261867708","html_url":"https://github.com/ant-design/ant-design/issues/3935#issuecomment-261867708","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/3935","id":261867708,"user":{"login":"yesmeck","id":465125,"avatar_url":"https://avatars.githubusercontent.com/u/465125?v=3","gravatar_id":"","url":"https://api.github.com/users/yesmeck","html_url":"https://github.com/yesmeck","followers_url":"https://api.github.com/users/yesmeck/followers","following_url":"https://api.github.com/users/yesmeck/following{/other_user}","gists_url":"https://api.github.com/users/yesmeck/gists{/gist_id}","starred_url":"https://api.github.com/users/yesmeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yesmeck/subscriptions","organizations_url":"https://api.github.com/users/yesmeck/orgs","repos_url":"https://api.github.com/users/yesmeck/repos","events_url":"https://api.github.com/users/yesmeck/events{/privacy}","received_events_url":"https://api.github.com/users/yesmeck/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T07:57:02Z","updated_at":"2016-11-21T07:57:02Z","body":"这边没重现出来，麻烦提供一个“可重现的在线演示” http://codepen.io/benjycui/pen/KgPZrE?editors=001"}}
{"actor":{"display_login":"yesmeck"}}