{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/2741","repository_url":"https://api.github.com/repos/ant-design/ant-design-pro","labels_url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/2741/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/2741/comments","events_url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/2741/events","html_url":"https://github.com/ant-design/ant-design-pro/pull/2741","id":376321564,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NTYzNjY0","number":2741,"title":"BasicLayout 优化建议 #2665","user":{"login":"rudyzou","id":4281891,"node_id":"MDQ6VXNlcjQyODE4OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4281891?v=4","gravatar_id":"","url":"https://api.github.com/users/rudyzou","html_url":"https://github.com/rudyzou","followers_url":"https://api.github.com/users/rudyzou/followers","following_url":"https://api.github.com/users/rudyzou/following{/other_user}","gists_url":"https://api.github.com/users/rudyzou/gists{/gist_id}","starred_url":"https://api.github.com/users/rudyzou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudyzou/subscriptions","organizations_url":"https://api.github.com/users/rudyzou/orgs","repos_url":"https://api.github.com/users/rudyzou/repos","events_url":"https://api.github.com/users/rudyzou/events{/privacy}","received_events_url":"https://api.github.com/users/rudyzou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T09:45:18Z","updated_at":"2018-11-01T09:47:25Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ant-design/ant-design-pro/pulls/2741","html_url":"https://github.com/ant-design/ant-design-pro/pull/2741","diff_url":"https://github.com/ant-design/ant-design-pro/pull/2741.diff","patch_url":"https://github.com/ant-design/ant-design-pro/pull/2741.patch"},"body":"如果您想要扩展 BasicLayout ，同时又想通过更新ant-design-pro来获得antd-pro团队最新特性，可以通过包装BasicLayout实现\r\n以下是BasicLayout 外部可定义props\r\n props = {\r\n  onSearch, // 顶部搜索回调函数 function(value:string)\r\n  onPressEnter, // 顶部搜索回车事件回调函数 function(value:string)\r\n  searchDataSource, // 顶部搜索提示数据 string[]\r\n  onItemClick,  // 消息记录点击事件回调函数 function(item:obect,tabprops:object)\r\n  notificationTypes=['notification','message','event'], // 消息类型展示自定义\r\n  notifyCount, // 总消息条数 value:number\r\n  handleNoticeClear(type),// 清理消息回调函数\r\n  fetchingNotices, // 消息面板显示时,加载图标状态显示控制\r\n  handleNoticeVisibleChange,  // 消息面板展开事件 function(visible:boolean)\r\n  menuData, // 菜单数据 ，object[],结构参考formatter\r\n  pageTitle, // 页面title\r\n }"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/comments/434988257","html_url":"https://github.com/ant-design/ant-design-pro/pull/2741#issuecomment-434988257","issue_url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/2741","id":434988257,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDk4ODI1Nw==","user":{"login":"netlify[bot]","id":40209326,"node_id":"MDM6Qm90NDAyMDkzMjY=","avatar_url":"https://avatars3.githubusercontent.com/in/13473?v=4","gravatar_id":"","url":"https://api.github.com/users/netlify%5Bbot%5D","html_url":"https://github.com/apps/netlify","followers_url":"https://api.github.com/users/netlify%5Bbot%5D/followers","following_url":"https://api.github.com/users/netlify%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/netlify%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/netlify%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netlify%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/netlify%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/netlify%5Bbot%5D/repos","events_url":"https://api.github.com/users/netlify%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/netlify%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-01T09:47:25Z","updated_at":"2018-11-01T09:47:25Z","author_association":"NONE","body":"Deploy preview for *ant-design-pro* ready!\n\nBuilt with commit 0f0e00a3676d496dd2d9e12d14dfcae5631aba69\n\nhttps://deploy-preview-2741--ant-design-pro.netlify.com"}}
{"actor":{"display_login":"netlify"}}