{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/62","repository_url":"https://api.github.com/repos/ant-design/ant-design-mobile","labels_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/62/comments","events_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/62/events","html_url":"https://github.com/ant-design/ant-design-mobile/issues/62","id":170360881,"number":62,"title":"在react native－android下 warning Button 无效，Toast 无法找到图片资源","user":{"login":"qiuchengw","id":1762183,"avatar_url":"https://avatars.githubusercontent.com/u/1762183?v=3","gravatar_id":"","url":"https://api.github.com/users/qiuchengw","html_url":"https://github.com/qiuchengw","followers_url":"https://api.github.com/users/qiuchengw/followers","following_url":"https://api.github.com/users/qiuchengw/following{/other_user}","gists_url":"https://api.github.com/users/qiuchengw/gists{/gist_id}","starred_url":"https://api.github.com/users/qiuchengw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiuchengw/subscriptions","organizations_url":"https://api.github.com/users/qiuchengw/orgs","repos_url":"https://api.github.com/users/qiuchengw/repos","events_url":"https://api.github.com/users/qiuchengw/events{/privacy}","received_events_url":"https://api.github.com/users/qiuchengw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"silentcloud","id":1698185,"avatar_url":"https://avatars.githubusercontent.com/u/1698185?v=3","gravatar_id":"","url":"https://api.github.com/users/silentcloud","html_url":"https://github.com/silentcloud","followers_url":"https://api.github.com/users/silentcloud/followers","following_url":"https://api.github.com/users/silentcloud/following{/other_user}","gists_url":"https://api.github.com/users/silentcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/silentcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentcloud/subscriptions","organizations_url":"https://api.github.com/users/silentcloud/orgs","repos_url":"https://api.github.com/users/silentcloud/repos","events_url":"https://api.github.com/users/silentcloud/events{/privacy}","received_events_url":"https://api.github.com/users/silentcloud/received_events","type":"User","site_admin":false},"assignees":[{"login":"silentcloud","id":1698185,"avatar_url":"https://avatars.githubusercontent.com/u/1698185?v=3","gravatar_id":"","url":"https://api.github.com/users/silentcloud","html_url":"https://github.com/silentcloud","followers_url":"https://api.github.com/users/silentcloud/followers","following_url":"https://api.github.com/users/silentcloud/following{/other_user}","gists_url":"https://api.github.com/users/silentcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/silentcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentcloud/subscriptions","organizations_url":"https://api.github.com/users/silentcloud/orgs","repos_url":"https://api.github.com/users/silentcloud/repos","events_url":"https://api.github.com/users/silentcloud/events{/privacy}","received_events_url":"https://api.github.com/users/silentcloud/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-08-10T08:29:39Z","updated_at":"2016-08-10T14:11:51Z","closed_at":null,"body":"<!-- Issue Template For Chinese Users -->\r\n\r\n<!-- 请按照下列格式报告问题，务必提供复现步骤，否则恕难解决，感谢您的支持。-->\r\n\r\n#### 本地环境\r\n\r\n<!-- 务必提供 -->\r\n\r\n- antd-mobile 版本：0.7.3\r\n- 操作系统及其版本：osx 10.11.6 ／ react native: 0.31.0 / react : 15.2.1 / android : 4.4+\r\n- 浏览器及其版本：无（react native端）\r\n\r\n#### 你做了什么？\r\n\r\n引入了Toast和Button，并执行：\r\n`\r\n   <Button type='warning' onClick={()=>Toast.fail('xxxx')}>click</Button>\r\n`\r\n\r\n#### 你期待的结果是：\r\n\r\n显示warning button，点击后显示一个toast 提示。\r\n\r\n#### 实际上的结果：\r\n\r\n1，Warning Button显示不正常, \b警告信息为：“Failed prop type\b, invalid prop type of value 'warning' supplied to Button, expected one of ['primary', 'default']”\r\n\r\n2，Toast显示错误，错误信息：‘Require unknown module './images/success.png' ....’\r\n\r\n#### 可重现的在线演示\r\n使用mobile demo，引入以下代码即可重现：\r\n`\r\n   <Button type='warning' onClick={()=>Toast.fail('xxxx')}>click</Button>\r\n`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/comments/238878860","html_url":"https://github.com/ant-design/ant-design-mobile/issues/62#issuecomment-238878860","issue_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/62","id":238878860,"user":{"login":"silentcloud","id":1698185,"avatar_url":"https://avatars.githubusercontent.com/u/1698185?v=3","gravatar_id":"","url":"https://api.github.com/users/silentcloud","html_url":"https://github.com/silentcloud","followers_url":"https://api.github.com/users/silentcloud/followers","following_url":"https://api.github.com/users/silentcloud/following{/other_user}","gists_url":"https://api.github.com/users/silentcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/silentcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentcloud/subscriptions","organizations_url":"https://api.github.com/users/silentcloud/orgs","repos_url":"https://api.github.com/users/silentcloud/repos","events_url":"https://api.github.com/users/silentcloud/events{/privacy}","received_events_url":"https://api.github.com/users/silentcloud/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T14:11:51Z","updated_at":"2016-08-10T14:11:51Z","body":"Button 无 warning 类型；\r\nToast 图片报错问题，工具已经升级；下个版本应该 ok 的"}}
{"actor":{"display_login":"silentcloud"}}