{"action":"opened","number":3084,"pull_request":{"url":"https://api.github.com/repos/airyland/vux/pulls/3084","id":212840616,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyODQwNjE2","html_url":"https://github.com/airyland/vux/pull/3084","diff_url":"https://github.com/airyland/vux/pull/3084.diff","patch_url":"https://github.com/airyland/vux/pull/3084.patch","issue_url":"https://api.github.com/repos/airyland/vux/issues/3084","number":3084,"state":"open","locked":false,"title":"#2960 修复x-input type =number 在安卓部分浏览器下 v-model 绑定无效的bug","user":{"login":"Jon-Millent","id":17584565,"node_id":"MDQ6VXNlcjE3NTg0NTY1","avatar_url":"https://avatars0.githubusercontent.com/u/17584565?v=4","gravatar_id":"","url":"https://api.github.com/users/Jon-Millent","html_url":"https://github.com/Jon-Millent","followers_url":"https://api.github.com/users/Jon-Millent/followers","following_url":"https://api.github.com/users/Jon-Millent/following{/other_user}","gists_url":"https://api.github.com/users/Jon-Millent/gists{/gist_id}","starred_url":"https://api.github.com/users/Jon-Millent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jon-Millent/subscriptions","organizations_url":"https://api.github.com/users/Jon-Millent/orgs","repos_url":"https://api.github.com/users/Jon-Millent/repos","events_url":"https://api.github.com/users/Jon-Millent/events{/privacy}","received_events_url":"https://api.github.com/users/Jon-Millent/received_events","type":"User","site_admin":false},"body":"#2960 \r\n经过测试发现的原因，是 `input.selectionStart` 在 `type` 为 `number`的时候部分浏览器不允许选择，所以报错触发不了 `$emit('input')`。\r\n![39172193254158860.jpg](https://i.loli.net/2018/09/04/5b8de7bd919e2.jpg)\r\n 目前唯一允许安全选择文本的元素是：\r\n<input type=\"text|search|password|tel|url\">如下所述：\r\n参考\r\n> https://stackoverflow.com/questions/21177489/selectionstart-selectionend-on-input-type-number-no-longer-allowed-in-chrome","created_at":"2018-09-04T02:26:59Z","updated_at":"2018-09-04T02:26:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/airyland/vux/pulls/3084/commits","review_comments_url":"https://api.github.com/repos/airyland/vux/pulls/3084/comments","review_comment_url":"https://api.github.com/repos/airyland/vux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/airyland/vux/issues/3084/comments","statuses_url":"https://api.github.com/repos/airyland/vux/statuses/31b6099f3d9e30a90ae5d416417e54da78034eb6","head":{"label":"Jon-Millent:millent","ref":"millent","sha":"31b6099f3d9e30a90ae5d416417e54da78034eb6","user":{"login":"Jon-Millent","id":17584565,"node_id":"MDQ6VXNlcjE3NTg0NTY1","avatar_url":"https://avatars0.githubusercontent.com/u/17584565?v=4","gravatar_id":"","url":"https://api.github.com/users/Jon-Millent","html_url":"https://github.com/Jon-Millent","followers_url":"https://api.github.com/users/Jon-Millent/followers","following_url":"https://api.github.com/users/Jon-Millent/following{/other_user}","gists_url":"https://api.github.com/users/Jon-Millent/gists{/gist_id}","starred_url":"https://api.github.com/users/Jon-Millent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jon-Millent/subscriptions","organizations_url":"https://api.github.com/users/Jon-Millent/orgs","repos_url":"https://api.github.com/users/Jon-Millent/repos","events_url":"https://api.github.com/users/Jon-Millent/events{/privacy}","received_events_url":"https://api.github.com/users/Jon-Millent/received_events","type":"User","site_admin":false},"repo":{"id":147275725,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcyNzU3MjU=","name":"vux","full_name":"Jon-Millent/vux","owner":{"login":"Jon-Millent","id":17584565,"node_id":"MDQ6VXNlcjE3NTg0NTY1","avatar_url":"https://avatars0.githubusercontent.com/u/17584565?v=4","gravatar_id":"","url":"https://api.github.com/users/Jon-Millent","html_url":"https://github.com/Jon-Millent","followers_url":"https://api.github.com/users/Jon-Millent/followers","following_url":"https://api.github.com/users/Jon-Millent/following{/other_user}","gists_url":"https://api.github.com/users/Jon-Millent/gists{/gist_id}","starred_url":"https://api.github.com/users/Jon-Millent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jon-Millent/subscriptions","organizations_url":"https://api.github.com/users/Jon-Millent/orgs","repos_url":"https://api.github.com/users/Jon-Millent/repos","events_url":"https://api.github.com/users/Jon-Millent/events{/privacy}","received_events_url":"https://api.github.com/users/Jon-Millent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jon-Millent/vux","description":"Mobile UI Components based on Vue & WeUI","fork":true,"url":"https://api.github.com/repos/Jon-Millent/vux","forks_url":"https://api.github.com/repos/Jon-Millent/vux/forks","keys_url":"https://api.github.com/repos/Jon-Millent/vux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jon-Millent/vux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jon-Millent/vux/teams","hooks_url":"https://api.github.com/repos/Jon-Millent/vux/hooks","issue_events_url":"https://api.github.com/repos/Jon-Millent/vux/issues/events{/number}","events_url":"https://api.github.com/repos/Jon-Millent/vux/events","assignees_url":"https://api.github.com/repos/Jon-Millent/vux/assignees{/user}","branches_url":"https://api.github.com/repos/Jon-Millent/vux/branches{/branch}","tags_url":"https://api.github.com/repos/Jon-Millent/vux/tags","blobs_url":"https://api.github.com/repos/Jon-Millent/vux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jon-Millent/vux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jon-Millent/vux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jon-Millent/vux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jon-Millent/vux/statuses/{sha}","languages_url":"https://api.github.com/repos/Jon-Millent/vux/languages","stargazers_url":"https://api.github.com/repos/Jon-Millent/vux/stargazers","contributors_url":"https://api.github.com/repos/Jon-Millent/vux/contributors","subscribers_url":"https://api.github.com/repos/Jon-Millent/vux/subscribers","subscription_url":"https://api.github.com/repos/Jon-Millent/vux/subscription","commits_url":"https://api.github.com/repos/Jon-Millent/vux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jon-Millent/vux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jon-Millent/vux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jon-Millent/vux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jon-Millent/vux/contents/{+path}","compare_url":"https://api.github.com/repos/Jon-Millent/vux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jon-Millent/vux/merges","archive_url":"https://api.github.com/repos/Jon-Millent/vux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jon-Millent/vux/downloads","issues_url":"https://api.github.com/repos/Jon-Millent/vux/issues{/number}","pulls_url":"https://api.github.com/repos/Jon-Millent/vux/pulls{/number}","milestones_url":"https://api.github.com/repos/Jon-Millent/vux/milestones{/number}","notifications_url":"https://api.github.com/repos/Jon-Millent/vux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jon-Millent/vux/labels{/name}","releases_url":"https://api.github.com/repos/Jon-Millent/vux/releases{/id}","deployments_url":"https://api.github.com/repos/Jon-Millent/vux/deployments","created_at":"2018-09-04T02:15:29Z","updated_at":"2018-09-04T02:15:34Z","pushed_at":"2018-09-04T02:22:28Z","git_url":"git://github.com/Jon-Millent/vux.git","ssh_url":"git@github.com:Jon-Millent/vux.git","clone_url":"https://github.com/Jon-Millent/vux.git","svn_url":"https://github.com/Jon-Millent/vux","homepage":"https://vux.li/","size":31473,"stargazers_count":0,"watchers_count":0,"language":"Vue","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"v2"}},"base":{"label":"airyland:v2","ref":"v2","sha":"690b78ba4221149b4a58ef2f2784630f8f40b26c","user":{"login":"airyland","id":559179,"node_id":"MDQ6VXNlcjU1OTE3OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/559179?v=4","gravatar_id":"","url":"https://api.github.com/users/airyland","html_url":"https://github.com/airyland","followers_url":"https://api.github.com/users/airyland/followers","following_url":"https://api.github.com/users/airyland/following{/other_user}","gists_url":"https://api.github.com/users/airyland/gists{/gist_id}","starred_url":"https://api.github.com/users/airyland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airyland/subscriptions","organizations_url":"https://api.github.com/users/airyland/orgs","repos_url":"https://api.github.com/users/airyland/repos","events_url":"https://api.github.com/users/airyland/events{/privacy}","received_events_url":"https://api.github.com/users/airyland/received_events","type":"User","site_admin":false},"repo":{"id":51728141,"node_id":"MDEwOlJlcG9zaXRvcnk1MTcyODE0MQ==","name":"vux","full_name":"airyland/vux","owner":{"login":"airyland","id":559179,"node_id":"MDQ6VXNlcjU1OTE3OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/559179?v=4","gravatar_id":"","url":"https://api.github.com/users/airyland","html_url":"https://github.com/airyland","followers_url":"https://api.github.com/users/airyland/followers","following_url":"https://api.github.com/users/airyland/following{/other_user}","gists_url":"https://api.github.com/users/airyland/gists{/gist_id}","starred_url":"https://api.github.com/users/airyland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airyland/subscriptions","organizations_url":"https://api.github.com/users/airyland/orgs","repos_url":"https://api.github.com/users/airyland/repos","events_url":"https://api.github.com/users/airyland/events{/privacy}","received_events_url":"https://api.github.com/users/airyland/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/airyland/vux","description":"Mobile UI Components based on Vue & WeUI","fork":false,"url":"https://api.github.com/repos/airyland/vux","forks_url":"https://api.github.com/repos/airyland/vux/forks","keys_url":"https://api.github.com/repos/airyland/vux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airyland/vux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airyland/vux/teams","hooks_url":"https://api.github.com/repos/airyland/vux/hooks","issue_events_url":"https://api.github.com/repos/airyland/vux/issues/events{/number}","events_url":"https://api.github.com/repos/airyland/vux/events","assignees_url":"https://api.github.com/repos/airyland/vux/assignees{/user}","branches_url":"https://api.github.com/repos/airyland/vux/branches{/branch}","tags_url":"https://api.github.com/repos/airyland/vux/tags","blobs_url":"https://api.github.com/repos/airyland/vux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airyland/vux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airyland/vux/git/refs{/sha}","trees_url":"https://api.github.com/repos/airyland/vux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airyland/vux/statuses/{sha}","languages_url":"https://api.github.com/repos/airyland/vux/languages","stargazers_url":"https://api.github.com/repos/airyland/vux/stargazers","contributors_url":"https://api.github.com/repos/airyland/vux/contributors","subscribers_url":"https://api.github.com/repos/airyland/vux/subscribers","subscription_url":"https://api.github.com/repos/airyland/vux/subscription","commits_url":"https://api.github.com/repos/airyland/vux/commits{/sha}","git_commits_url":"https://api.github.com/repos/airyland/vux/git/commits{/sha}","comments_url":"https://api.github.com/repos/airyland/vux/comments{/number}","issue_comment_url":"https://api.github.com/repos/airyland/vux/issues/comments{/number}","contents_url":"https://api.github.com/repos/airyland/vux/contents/{+path}","compare_url":"https://api.github.com/repos/airyland/vux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airyland/vux/merges","archive_url":"https://api.github.com/repos/airyland/vux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airyland/vux/downloads","issues_url":"https://api.github.com/repos/airyland/vux/issues{/number}","pulls_url":"https://api.github.com/repos/airyland/vux/pulls{/number}","milestones_url":"https://api.github.com/repos/airyland/vux/milestones{/number}","notifications_url":"https://api.github.com/repos/airyland/vux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airyland/vux/labels{/name}","releases_url":"https://api.github.com/repos/airyland/vux/releases{/id}","deployments_url":"https://api.github.com/repos/airyland/vux/deployments","created_at":"2016-02-15T03:23:27Z","updated_at":"2018-09-04T02:14:28Z","pushed_at":"2018-09-04T02:11:55Z","git_url":"git://github.com/airyland/vux.git","ssh_url":"git@github.com:airyland/vux.git","clone_url":"https://github.com/airyland/vux.git","svn_url":"https://github.com/airyland/vux","homepage":"https://vux.li/","size":31473,"stargazers_count":13893,"watchers_count":13893,"language":"Vue","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3082,"mirror_url":null,"archived":false,"open_issues_count":377,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3082,"open_issues":377,"watchers":13893,"default_branch":"v2"}},"_links":{"self":{"href":"https://api.github.com/repos/airyland/vux/pulls/3084"},"html":{"href":"https://github.com/airyland/vux/pull/3084"},"issue":{"href":"https://api.github.com/repos/airyland/vux/issues/3084"},"comments":{"href":"https://api.github.com/repos/airyland/vux/issues/3084/comments"},"review_comments":{"href":"https://api.github.com/repos/airyland/vux/pulls/3084/comments"},"review_comment":{"href":"https://api.github.com/repos/airyland/vux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/airyland/vux/pulls/3084/commits"},"statuses":{"href":"https://api.github.com/repos/airyland/vux/statuses/31b6099f3d9e30a90ae5d416417e54da78034eb6"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":46,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"Jon-Millent"}}