{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/1690","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/1690/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/1690/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/1690/events","html_url":"https://github.com/ant-design/ant-design/issues/1690","id":154652068,"number":1690,"title":"Select Option 选中bug","user":{"login":"ljg601105597","id":11845676,"avatar_url":"https://avatars.githubusercontent.com/u/11845676?v=3","gravatar_id":"","url":"https://api.github.com/users/ljg601105597","html_url":"https://github.com/ljg601105597","followers_url":"https://api.github.com/users/ljg601105597/followers","following_url":"https://api.github.com/users/ljg601105597/following{/other_user}","gists_url":"https://api.github.com/users/ljg601105597/gists{/gist_id}","starred_url":"https://api.github.com/users/ljg601105597/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljg601105597/subscriptions","organizations_url":"https://api.github.com/users/ljg601105597/orgs","repos_url":"https://api.github.com/users/ljg601105597/repos","events_url":"https://api.github.com/users/ljg601105597/events{/privacy}","received_events_url":"https://api.github.com/users/ljg601105597/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-13T07:42:17Z","updated_at":"2016-05-13T08:23:50Z","closed_at":null,"body":"Option固定的 如：\r\n\\<Select defaultValue='1'>\r\n\\<Option value='0'>李四\\</Option>\r\n\\<Option value='1'>张三\\</Option>\r\n\\</Select> 这样没问题\r\n但是Option 是作为变量动态生成的的时候\r\nvar options={}\r\n\\<Select defaultValue='1'>\r\n{options}\r\n\\</Select> 这个组件不会选中值 只会在这个组件上 显示 1 "},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/218981401","html_url":"https://github.com/ant-design/ant-design/issues/1690#issuecomment-218981401","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/1690","id":218981401,"user":{"login":"pixystone","id":3050696,"avatar_url":"https://avatars.githubusercontent.com/u/3050696?v=3","gravatar_id":"","url":"https://api.github.com/users/pixystone","html_url":"https://github.com/pixystone","followers_url":"https://api.github.com/users/pixystone/followers","following_url":"https://api.github.com/users/pixystone/following{/other_user}","gists_url":"https://api.github.com/users/pixystone/gists{/gist_id}","starred_url":"https://api.github.com/users/pixystone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixystone/subscriptions","organizations_url":"https://api.github.com/users/pixystone/orgs","repos_url":"https://api.github.com/users/pixystone/repos","events_url":"https://api.github.com/users/pixystone/events{/privacy}","received_events_url":"https://api.github.com/users/pixystone/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T08:23:50Z","updated_at":"2016-05-13T08:23:50Z","body":"我之前遇到过，确保你的options里每一个value属性给的是字符串，number类型是无效的。看看是不是这个问题"}}