{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/3373","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/3373/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/3373/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/3373/events","html_url":"https://github.com/ant-design/ant-design/issues/3373","id":182183161,"number":3373,"title":"antd 2.0.x 的Menu组件依然有 Unknown props ","user":{"login":"zhanglingkang","id":4545210,"avatar_url":"https://avatars.githubusercontent.com/u/4545210?v=3","gravatar_id":"","url":"https://api.github.com/users/zhanglingkang","html_url":"https://github.com/zhanglingkang","followers_url":"https://api.github.com/users/zhanglingkang/followers","following_url":"https://api.github.com/users/zhanglingkang/following{/other_user}","gists_url":"https://api.github.com/users/zhanglingkang/gists{/gist_id}","starred_url":"https://api.github.com/users/zhanglingkang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhanglingkang/subscriptions","organizations_url":"https://api.github.com/users/zhanglingkang/orgs","repos_url":"https://api.github.com/users/zhanglingkang/repos","events_url":"https://api.github.com/users/zhanglingkang/events{/privacy}","received_events_url":"https://api.github.com/users/zhanglingkang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-11T06:24:24Z","updated_at":"2016-10-11T06:40:55Z","closed_at":null,"body":"<!-- Issue Template -->\r\n\r\n<!-- 请按照下列格式报告问题，务必提供复现步骤，否则恕难解决，感谢您的支持。-->\r\n\r\n#### 发生问题的环境是：\r\n\r\n<!-- 务必提供 -->\r\n\r\n- antd 版本: 2.0.1\r\n- 操作系统及其版本: mac\r\n- 浏览器及其版本: chrome\r\n\r\n#### 您做了什么？\r\n\r\n<!-- 如：引入 antd 了 Button -->\r\n使用Menu组件\r\n\r\n#### 您期待的结果是：\r\n\r\n<!-- 如：像官网一样正常显示 -->\r\n\r\n没有错误\r\n\r\n#### 实际上的结果是：\r\n\r\n<!-- 如：样式错位了 -->\r\n\r\n```javascript\r\nWarning: Unknown props `level`, `inlineIndent`, `renderMenuItem`, `rootPrefixCls`, `index`, `parentMenu`, `eventKey`, `closeSubMenuOnMouseLeave`, `onItemHover`, `active`, `openTransitionName`, `openAnimation`, `onOpenChange`, `onDeselect`, `onDestroy`, `openKeys`, `selectedKeys`, `openSubMenuOnMouseEnter` on <div> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop\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/252826580","html_url":"https://github.com/ant-design/ant-design/issues/3373#issuecomment-252826580","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/3373","id":252826580,"user":{"login":"zhanglingkang","id":4545210,"avatar_url":"https://avatars.githubusercontent.com/u/4545210?v=3","gravatar_id":"","url":"https://api.github.com/users/zhanglingkang","html_url":"https://github.com/zhanglingkang","followers_url":"https://api.github.com/users/zhanglingkang/followers","following_url":"https://api.github.com/users/zhanglingkang/following{/other_user}","gists_url":"https://api.github.com/users/zhanglingkang/gists{/gist_id}","starred_url":"https://api.github.com/users/zhanglingkang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhanglingkang/subscriptions","organizations_url":"https://api.github.com/users/zhanglingkang/orgs","repos_url":"https://api.github.com/users/zhanglingkang/repos","events_url":"https://api.github.com/users/zhanglingkang/events{/privacy}","received_events_url":"https://api.github.com/users/zhanglingkang/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T06:40:55Z","updated_at":"2016-10-11T06:40:55Z","body":"@afc163 找到原因了，我之前因为某些原因用如下方式使用Menu，\r\n```html\r\n    <Menu>\r\n                        <div className=\"parent-menu\">应用管理</div>\r\n                        <Menu.Item>\r\n                            ...\r\n                        </Menu.Item>\r\n    </Menu>\r\n```"}}
{"actor":{"display_login":"zhanglingkang"}}