{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/3791","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/3791/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/3791/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/3791/events","html_url":"https://github.com/ant-design/ant-design/issues/3791","id":188487636,"number":3791,"title":"Table表格最后一列无法合并行","user":{"login":"flyingImmortal","id":20981143,"avatar_url":"https://avatars.githubusercontent.com/u/20981143?v=3","gravatar_id":"","url":"https://api.github.com/users/flyingImmortal","html_url":"https://github.com/flyingImmortal","followers_url":"https://api.github.com/users/flyingImmortal/followers","following_url":"https://api.github.com/users/flyingImmortal/following{/other_user}","gists_url":"https://api.github.com/users/flyingImmortal/gists{/gist_id}","starred_url":"https://api.github.com/users/flyingImmortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyingImmortal/subscriptions","organizations_url":"https://api.github.com/users/flyingImmortal/orgs","repos_url":"https://api.github.com/users/flyingImmortal/repos","events_url":"https://api.github.com/users/flyingImmortal/events{/privacy}","received_events_url":"https://api.github.com/users/flyingImmortal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-10T11:46:43Z","updated_at":"2016-11-11T08:25:17Z","closed_at":"2016-11-11T06:52:34Z","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 版本: \"antd\": \"2.0.1\",\r\n- 操作系统及其版本: windows7\r\n- 浏览器及其版本:chrome 54\r\n\r\n#### 您做了什么？请提供尽可能详细的重现步骤。\r\n\r\n第一列合并简单\r\nthis.columns = [{\r\n            title: '发布代号',\r\n            dataIndex: 'code',\r\n            key: 'code',\r\n            render(value, row, index) {\r\n                const obj = {\r\n                    children: value,\r\n                    props: {},\r\n                };\r\n                obj.props.rowSpan = 2;\r\n                return obj;\r\n            }\r\n        }\r\n最后一列为操作列，没法合并，不知道怎么写\r\n\r\n{\r\n            title: '操作',\r\n            key: 'action',\r\n            render:function(value, row, index){\r\n                const obj = {\r\n                    children: value,\r\n                    props: {},\r\n                };\r\n                obj.props.rowSpan =2;\r\n                      return  (<span> <a onClick={() => this._update(row).bind(this)}>构建部署</a>\r\n                     \r\n            </span>)\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\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/259905979","html_url":"https://github.com/ant-design/ant-design/issues/3791#issuecomment-259905979","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/3791","id":259905979,"user":{"login":"afc163","id":507615,"avatar_url":"https://avatars.githubusercontent.com/u/507615?v=3","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T08:25:17Z","updated_at":"2016-11-11T08:25:17Z","body":"```js\r\nrender: (value, row, index) => {\r\n```\r\n\r\n代码格式化是最起码的尊重。"}}
{"actor":{"display_login":"afc163"}}