{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/11685","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/11685/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/11685/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/11685/events","html_url":"https://github.com/ant-design/ant-design/issues/11685","id":349022516,"node_id":"MDU6SXNzdWUzNDkwMjI1MTY=","number":11685,"title":"TreeSelect 能不能只搜索父级","user":{"login":"zhengyanwen","id":17755489,"node_id":"MDQ6VXNlcjE3NzU1NDg5","avatar_url":"https://avatars1.githubusercontent.com/u/17755489?v=4","gravatar_id":"","url":"https://api.github.com/users/zhengyanwen","html_url":"https://github.com/zhengyanwen","followers_url":"https://api.github.com/users/zhengyanwen/followers","following_url":"https://api.github.com/users/zhengyanwen/following{/other_user}","gists_url":"https://api.github.com/users/zhengyanwen/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengyanwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengyanwen/subscriptions","organizations_url":"https://api.github.com/users/zhengyanwen/orgs","repos_url":"https://api.github.com/users/zhengyanwen/repos","events_url":"https://api.github.com/users/zhengyanwen/events{/privacy}","received_events_url":"https://api.github.com/users/zhengyanwen/received_events","type":"User","site_admin":false},"labels":[{"id":571726996,"node_id":"MDU6TGFiZWw1NzE3MjY5OTY=","url":"https://api.github.com/repos/ant-design/ant-design/labels/Invalid","name":"Invalid","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-09T08:11:49Z","updated_at":"2018-08-09T08:11:51Z","closed_at":"2018-08-09T08:11:50Z","author_association":"NONE","body":"<!--\r\nIMPORTANT: Please use the following link to create a new issue:\r\n\r\n  http://new-issue.ant.design\r\n\r\nIf your issue was not created using the app above, it will be closed immediately.\r\n-->\r\n\r\n<!--\r\n注意：请使用下面的链接来新建 issue：\r\n\r\n  http://new-issue.ant.design\r\n\r\n不是用上面的链接创建的 issue 会被立即关闭。\r\n-->\r\nTreeSelect能不能只搜索父级，不搜索子级，因为子级都是异步获取的，现在一搜索所有父级都会触发异步获取子级，导致页面卡死"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/411675050","html_url":"https://github.com/ant-design/ant-design/issues/11685#issuecomment-411675050","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/11685","id":411675050,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTY3NTA1MA==","user":{"login":"ant-design-bot","id":26566442,"node_id":"MDQ6VXNlcjI2NTY2NDQy","avatar_url":"https://avatars0.githubusercontent.com/u/26566442?v=4","gravatar_id":"","url":"https://api.github.com/users/ant-design-bot","html_url":"https://github.com/ant-design-bot","followers_url":"https://api.github.com/users/ant-design-bot/followers","following_url":"https://api.github.com/users/ant-design-bot/following{/other_user}","gists_url":"https://api.github.com/users/ant-design-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/ant-design-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant-design-bot/subscriptions","organizations_url":"https://api.github.com/users/ant-design-bot/orgs","repos_url":"https://api.github.com/users/ant-design-bot/repos","events_url":"https://api.github.com/users/ant-design-bot/events{/privacy}","received_events_url":"https://api.github.com/users/ant-design-bot/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T08:11:51Z","updated_at":"2018-08-09T08:11:51Z","author_association":"NONE","body":"Translation of this issue:\n\n<hr/>\n\n## TreeSelect Can I just search for the parent?\n\n<!--\r\nIMPORTANT: Please use the following link to create a new issue:\r\n\r\n  Http://new-issue.ant.design\r\n\r\nIf your issue was not created using the app above, it will be closed immediately.\r\n-->\r\n\r\n<!--\r\nNote: Please use the link below to create a new issue:\r\n\r\n  Http://new-issue.ant.design\r\n\r\nIssues that were not created with the above link will be closed immediately.\r\n-->\r\nCan TreeSelect only search for the parent, not the child, because the child is acquired asynchronously, and now a search for all the parents will trigger the asynchronous acquisition of the child, causing the page to die."}}
{"actor":{"display_login":"ant-design-bot"}}