{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/3484","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/3484/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/3484/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/3484/events","html_url":"https://github.com/ant-design/ant-design/issues/3484","id":183875332,"number":3484,"title":"2.0.1 Cascader defaultValue无效","user":{"login":"liutwv","id":3077402,"avatar_url":"https://avatars.githubusercontent.com/u/3077402?v=3","gravatar_id":"","url":"https://api.github.com/users/liutwv","html_url":"https://github.com/liutwv","followers_url":"https://api.github.com/users/liutwv/followers","following_url":"https://api.github.com/users/liutwv/following{/other_user}","gists_url":"https://api.github.com/users/liutwv/gists{/gist_id}","starred_url":"https://api.github.com/users/liutwv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liutwv/subscriptions","organizations_url":"https://api.github.com/users/liutwv/orgs","repos_url":"https://api.github.com/users/liutwv/repos","events_url":"https://api.github.com/users/liutwv/events{/privacy}","received_events_url":"https://api.github.com/users/liutwv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-19T06:22:51Z","updated_at":"2016-10-19T06:30:37Z","closed_at":"2016-10-19T06:30:37Z","body":"<!-- Issue Template -->\r\n\r\n<!-- 请按照下列格式报告问题，务必提供复现步骤，否则恕难解决，感谢您的支持。-->\r\n\r\n#### 发生问题的环境是：\r\n\r\n<!-- 务必提供 -->\r\n\r\n- antd 版本: 2.0.1\r\n- 操作系统及其版本: MacOS Seirra\r\n- 浏览器及其版本: Chrome 54.0.2840.59 (64-bit), Firefox 49.0.1\r\n\r\n#### 您做了什么？\r\n按官网Cascader的省市区例子，引入 antd 的Cascader, 在本地写了个例子，传了默认值defaultValue如下:\r\n<Cascader defaultValue={['zhejiang', 'hangzhou', 'xihu']} options={options} onChange={onChange} />\r\noptions也是完全拷贝官网例子。\r\n<!-- 如：引入 antd 了 Button -->\r\n\r\n#### 您期待的结果是：\r\n像官网一样正常显示默认值 Zhejiang / Hangzhou / West Lake\r\n<!-- 如：像官网一样正常显示 -->\r\n\r\n#### 实际上的结果是：\r\nCascader没有显示默认值\r\n<!-- 如：样式错位了 -->\r\n\r\n#### 可重现的在线演示\r\n我是在https://github.com/zuiidea/antd-admin的例子上自己本地添加了Cascader模块来调试的。原项目没有用到Cascader\r\n<!-- 请修改并 Fork http://codepen.io/benjycui/pen/KgPZrE?editors=001 -->\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/254722690","html_url":"https://github.com/ant-design/ant-design/issues/3484#issuecomment-254722690","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/3484","id":254722690,"user":{"login":"afc163","id":507615,"avatar_url":"https://avatars.githubusercontent.com/u/507615?v=3","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T06:30:37Z","updated_at":"2016-10-19T06:30:37Z","body":"fixed in https://github.com/ant-design/ant-design/issues/3470"}}
{"actor":{"display_login":"afc163"}}