{"action":"opened","number":60,"pull_request":{"url":"https://api.github.com/repos/UCloud-FE/react-components/pulls/60","id":226842918,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2ODQyOTE4","html_url":"https://github.com/UCloud-FE/react-components/pull/60","diff_url":"https://github.com/UCloud-FE/react-components/pull/60.diff","patch_url":"https://github.com/UCloud-FE/react-components/pull/60.patch","issue_url":"https://api.github.com/repos/UCloud-FE/react-components/issues/60","number":60,"state":"open","locked":false,"title":"feat(NumberInput): trigger onNumberChange when press enter","user":{"login":"ZxBing0066","id":5652404,"node_id":"MDQ6VXNlcjU2NTI0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5652404?v=4","gravatar_id":"","url":"https://api.github.com/users/ZxBing0066","html_url":"https://github.com/ZxBing0066","followers_url":"https://api.github.com/users/ZxBing0066/followers","following_url":"https://api.github.com/users/ZxBing0066/following{/other_user}","gists_url":"https://api.github.com/users/ZxBing0066/gists{/gist_id}","starred_url":"https://api.github.com/users/ZxBing0066/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZxBing0066/subscriptions","organizations_url":"https://api.github.com/users/ZxBing0066/orgs","repos_url":"https://api.github.com/users/ZxBing0066/repos","events_url":"https://api.github.com/users/ZxBing0066/events{/privacy}","received_events_url":"https://api.github.com/users/ZxBing0066/received_events","type":"User","site_admin":false},"body":"**What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)**\r\nfeature\r\n**What is the current behavior? (You can also link to an open issue here)**\r\nno effect when press enter\r\n**What is the new behavior (if this is a feature change)?**\r\nadd onEnter prop\r\ntrigger onNumberChange when press enter key\r\n**Does this PR introduce a breaking change?**\r\nNo\r\n**Please check if the PR fulfills these requirements**\r\n\r\n*   [X] Follow our contributing docs\r\n*   [X] Docs have been added/updated\r\n*   [X] Tests have been added; existing tests pass\r\n\r\n**Other information**:\r\n","created_at":"2018-10-30T09:15:21Z","updated_at":"2018-10-30T09:15:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"ZxBing0066","id":5652404,"node_id":"MDQ6VXNlcjU2NTI0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5652404?v=4","gravatar_id":"","url":"https://api.github.com/users/ZxBing0066","html_url":"https://github.com/ZxBing0066","followers_url":"https://api.github.com/users/ZxBing0066/followers","following_url":"https://api.github.com/users/ZxBing0066/following{/other_user}","gists_url":"https://api.github.com/users/ZxBing0066/gists{/gist_id}","starred_url":"https://api.github.com/users/ZxBing0066/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZxBing0066/subscriptions","organizations_url":"https://api.github.com/users/ZxBing0066/orgs","repos_url":"https://api.github.com/users/ZxBing0066/repos","events_url":"https://api.github.com/users/ZxBing0066/events{/privacy}","received_events_url":"https://api.github.com/users/ZxBing0066/received_events","type":"User","site_admin":false},"assignees":[{"login":"ZxBing0066","id":5652404,"node_id":"MDQ6VXNlcjU2NTI0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5652404?v=4","gravatar_id":"","url":"https://api.github.com/users/ZxBing0066","html_url":"https://github.com/ZxBing0066","followers_url":"https://api.github.com/users/ZxBing0066/followers","following_url":"https://api.github.com/users/ZxBing0066/following{/other_user}","gists_url":"https://api.github.com/users/ZxBing0066/gists{/gist_id}","starred_url":"https://api.github.com/users/ZxBing0066/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZxBing0066/subscriptions","organizations_url":"https://api.github.com/users/ZxBing0066/orgs","repos_url":"https://api.github.com/users/ZxBing0066/repos","events_url":"https://api.github.com/users/ZxBing0066/events{/privacy}","received_events_url":"https://api.github.com/users/ZxBing0066/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1061941635,"node_id":"MDU6TGFiZWwxMDYxOTQxNjM1","url":"https://api.github.com/repos/UCloud-FE/react-components/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/UCloud-FE/react-components/pulls/60/commits","review_comments_url":"https://api.github.com/repos/UCloud-FE/react-components/pulls/60/comments","review_comment_url":"https://api.github.com/repos/UCloud-FE/react-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UCloud-FE/react-components/issues/60/comments","statuses_url":"https://api.github.com/repos/UCloud-FE/react-components/statuses/e563a2da72d7e8450f12a9a31d4ea4e0b21c3fad","head":{"label":"UCloud-FE:slider","ref":"slider","sha":"e563a2da72d7e8450f12a9a31d4ea4e0b21c3fad","user":{"login":"UCloud-FE","id":43166177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTY2MTc3","avatar_url":"https://avatars1.githubusercontent.com/u/43166177?v=4","gravatar_id":"","url":"https://api.github.com/users/UCloud-FE","html_url":"https://github.com/UCloud-FE","followers_url":"https://api.github.com/users/UCloud-FE/followers","following_url":"https://api.github.com/users/UCloud-FE/following{/other_user}","gists_url":"https://api.github.com/users/UCloud-FE/gists{/gist_id}","starred_url":"https://api.github.com/users/UCloud-FE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCloud-FE/subscriptions","organizations_url":"https://api.github.com/users/UCloud-FE/orgs","repos_url":"https://api.github.com/users/UCloud-FE/repos","events_url":"https://api.github.com/users/UCloud-FE/events{/privacy}","received_events_url":"https://api.github.com/users/UCloud-FE/received_events","type":"Organization","site_admin":false},"repo":{"id":149418014,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk0MTgwMTQ=","name":"react-components","full_name":"UCloud-FE/react-components","private":false,"owner":{"login":"UCloud-FE","id":43166177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTY2MTc3","avatar_url":"https://avatars1.githubusercontent.com/u/43166177?v=4","gravatar_id":"","url":"https://api.github.com/users/UCloud-FE","html_url":"https://github.com/UCloud-FE","followers_url":"https://api.github.com/users/UCloud-FE/followers","following_url":"https://api.github.com/users/UCloud-FE/following{/other_user}","gists_url":"https://api.github.com/users/UCloud-FE/gists{/gist_id}","starred_url":"https://api.github.com/users/UCloud-FE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCloud-FE/subscriptions","organizations_url":"https://api.github.com/users/UCloud-FE/orgs","repos_url":"https://api.github.com/users/UCloud-FE/repos","events_url":"https://api.github.com/users/UCloud-FE/events{/privacy}","received_events_url":"https://api.github.com/users/UCloud-FE/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UCloud-FE/react-components","description":"React components","fork":false,"url":"https://api.github.com/repos/UCloud-FE/react-components","forks_url":"https://api.github.com/repos/UCloud-FE/react-components/forks","keys_url":"https://api.github.com/repos/UCloud-FE/react-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UCloud-FE/react-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UCloud-FE/react-components/teams","hooks_url":"https://api.github.com/repos/UCloud-FE/react-components/hooks","issue_events_url":"https://api.github.com/repos/UCloud-FE/react-components/issues/events{/number}","events_url":"https://api.github.com/repos/UCloud-FE/react-components/events","assignees_url":"https://api.github.com/repos/UCloud-FE/react-components/assignees{/user}","branches_url":"https://api.github.com/repos/UCloud-FE/react-components/branches{/branch}","tags_url":"https://api.github.com/repos/UCloud-FE/react-components/tags","blobs_url":"https://api.github.com/repos/UCloud-FE/react-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UCloud-FE/react-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UCloud-FE/react-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/UCloud-FE/react-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UCloud-FE/react-components/statuses/{sha}","languages_url":"https://api.github.com/repos/UCloud-FE/react-components/languages","stargazers_url":"https://api.github.com/repos/UCloud-FE/react-components/stargazers","contributors_url":"https://api.github.com/repos/UCloud-FE/react-components/contributors","subscribers_url":"https://api.github.com/repos/UCloud-FE/react-components/subscribers","subscription_url":"https://api.github.com/repos/UCloud-FE/react-components/subscription","commits_url":"https://api.github.com/repos/UCloud-FE/react-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/UCloud-FE/react-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/UCloud-FE/react-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/UCloud-FE/react-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/UCloud-FE/react-components/contents/{+path}","compare_url":"https://api.github.com/repos/UCloud-FE/react-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UCloud-FE/react-components/merges","archive_url":"https://api.github.com/repos/UCloud-FE/react-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UCloud-FE/react-components/downloads","issues_url":"https://api.github.com/repos/UCloud-FE/react-components/issues{/number}","pulls_url":"https://api.github.com/repos/UCloud-FE/react-components/pulls{/number}","milestones_url":"https://api.github.com/repos/UCloud-FE/react-components/milestones{/number}","notifications_url":"https://api.github.com/repos/UCloud-FE/react-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UCloud-FE/react-components/labels{/name}","releases_url":"https://api.github.com/repos/UCloud-FE/react-components/releases{/id}","deployments_url":"https://api.github.com/repos/UCloud-FE/react-components/deployments","created_at":"2018-09-19T08:30:16Z","updated_at":"2018-10-30T06:19:51Z","pushed_at":"2018-10-30T09:14:27Z","git_url":"git://github.com/UCloud-FE/react-components.git","ssh_url":"git@github.com:UCloud-FE/react-components.git","clone_url":"https://github.com/UCloud-FE/react-components.git","svn_url":"https://github.com/UCloud-FE/react-components","homepage":"https://ucloud-fe.github.io/react-components/","size":2276,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":5,"watchers":8,"default_branch":"master"}},"base":{"label":"UCloud-FE:master","ref":"master","sha":"717970fdd6d69e324ebd59829c481641dcfd0662","user":{"login":"UCloud-FE","id":43166177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTY2MTc3","avatar_url":"https://avatars1.githubusercontent.com/u/43166177?v=4","gravatar_id":"","url":"https://api.github.com/users/UCloud-FE","html_url":"https://github.com/UCloud-FE","followers_url":"https://api.github.com/users/UCloud-FE/followers","following_url":"https://api.github.com/users/UCloud-FE/following{/other_user}","gists_url":"https://api.github.com/users/UCloud-FE/gists{/gist_id}","starred_url":"https://api.github.com/users/UCloud-FE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCloud-FE/subscriptions","organizations_url":"https://api.github.com/users/UCloud-FE/orgs","repos_url":"https://api.github.com/users/UCloud-FE/repos","events_url":"https://api.github.com/users/UCloud-FE/events{/privacy}","received_events_url":"https://api.github.com/users/UCloud-FE/received_events","type":"Organization","site_admin":false},"repo":{"id":149418014,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk0MTgwMTQ=","name":"react-components","full_name":"UCloud-FE/react-components","private":false,"owner":{"login":"UCloud-FE","id":43166177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTY2MTc3","avatar_url":"https://avatars1.githubusercontent.com/u/43166177?v=4","gravatar_id":"","url":"https://api.github.com/users/UCloud-FE","html_url":"https://github.com/UCloud-FE","followers_url":"https://api.github.com/users/UCloud-FE/followers","following_url":"https://api.github.com/users/UCloud-FE/following{/other_user}","gists_url":"https://api.github.com/users/UCloud-FE/gists{/gist_id}","starred_url":"https://api.github.com/users/UCloud-FE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCloud-FE/subscriptions","organizations_url":"https://api.github.com/users/UCloud-FE/orgs","repos_url":"https://api.github.com/users/UCloud-FE/repos","events_url":"https://api.github.com/users/UCloud-FE/events{/privacy}","received_events_url":"https://api.github.com/users/UCloud-FE/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UCloud-FE/react-components","description":"React components","fork":false,"url":"https://api.github.com/repos/UCloud-FE/react-components","forks_url":"https://api.github.com/repos/UCloud-FE/react-components/forks","keys_url":"https://api.github.com/repos/UCloud-FE/react-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UCloud-FE/react-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UCloud-FE/react-components/teams","hooks_url":"https://api.github.com/repos/UCloud-FE/react-components/hooks","issue_events_url":"https://api.github.com/repos/UCloud-FE/react-components/issues/events{/number}","events_url":"https://api.github.com/repos/UCloud-FE/react-components/events","assignees_url":"https://api.github.com/repos/UCloud-FE/react-components/assignees{/user}","branches_url":"https://api.github.com/repos/UCloud-FE/react-components/branches{/branch}","tags_url":"https://api.github.com/repos/UCloud-FE/react-components/tags","blobs_url":"https://api.github.com/repos/UCloud-FE/react-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UCloud-FE/react-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UCloud-FE/react-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/UCloud-FE/react-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UCloud-FE/react-components/statuses/{sha}","languages_url":"https://api.github.com/repos/UCloud-FE/react-components/languages","stargazers_url":"https://api.github.com/repos/UCloud-FE/react-components/stargazers","contributors_url":"https://api.github.com/repos/UCloud-FE/react-components/contributors","subscribers_url":"https://api.github.com/repos/UCloud-FE/react-components/subscribers","subscription_url":"https://api.github.com/repos/UCloud-FE/react-components/subscription","commits_url":"https://api.github.com/repos/UCloud-FE/react-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/UCloud-FE/react-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/UCloud-FE/react-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/UCloud-FE/react-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/UCloud-FE/react-components/contents/{+path}","compare_url":"https://api.github.com/repos/UCloud-FE/react-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UCloud-FE/react-components/merges","archive_url":"https://api.github.com/repos/UCloud-FE/react-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UCloud-FE/react-components/downloads","issues_url":"https://api.github.com/repos/UCloud-FE/react-components/issues{/number}","pulls_url":"https://api.github.com/repos/UCloud-FE/react-components/pulls{/number}","milestones_url":"https://api.github.com/repos/UCloud-FE/react-components/milestones{/number}","notifications_url":"https://api.github.com/repos/UCloud-FE/react-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UCloud-FE/react-components/labels{/name}","releases_url":"https://api.github.com/repos/UCloud-FE/react-components/releases{/id}","deployments_url":"https://api.github.com/repos/UCloud-FE/react-components/deployments","created_at":"2018-09-19T08:30:16Z","updated_at":"2018-10-30T06:19:51Z","pushed_at":"2018-10-30T09:14:27Z","git_url":"git://github.com/UCloud-FE/react-components.git","ssh_url":"git@github.com:UCloud-FE/react-components.git","clone_url":"https://github.com/UCloud-FE/react-components.git","svn_url":"https://github.com/UCloud-FE/react-components","homepage":"https://ucloud-fe.github.io/react-components/","size":2276,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UCloud-FE/react-components/pulls/60"},"html":{"href":"https://github.com/UCloud-FE/react-components/pull/60"},"issue":{"href":"https://api.github.com/repos/UCloud-FE/react-components/issues/60"},"comments":{"href":"https://api.github.com/repos/UCloud-FE/react-components/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/UCloud-FE/react-components/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/UCloud-FE/react-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UCloud-FE/react-components/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/UCloud-FE/react-components/statuses/e563a2da72d7e8450f12a9a31d4ea4e0b21c3fad"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":22,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"ZxBing0066"}}