{"action":"created","issue":{"url":"https://api.github.com/repos/baijunjie/PhotoClip.js/issues/72","repository_url":"https://api.github.com/repos/baijunjie/PhotoClip.js","labels_url":"https://api.github.com/repos/baijunjie/PhotoClip.js/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/baijunjie/PhotoClip.js/issues/72/comments","events_url":"https://api.github.com/repos/baijunjie/PhotoClip.js/issues/72/events","html_url":"https://github.com/baijunjie/PhotoClip.js/issues/72","id":330561841,"node_id":"MDU6SXNzdWUzMzA1NjE4NDE=","number":72,"title":"选择多次后报错 \"photoclip\": \"^3.3.6\",","user":{"login":"haoyinag","id":24349947,"node_id":"MDQ6VXNlcjI0MzQ5OTQ3","avatar_url":"https://avatars0.githubusercontent.com/u/24349947?v=4","gravatar_id":"","url":"https://api.github.com/users/haoyinag","html_url":"https://github.com/haoyinag","followers_url":"https://api.github.com/users/haoyinag/followers","following_url":"https://api.github.com/users/haoyinag/following{/other_user}","gists_url":"https://api.github.com/users/haoyinag/gists{/gist_id}","starred_url":"https://api.github.com/users/haoyinag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haoyinag/subscriptions","organizations_url":"https://api.github.com/users/haoyinag/orgs","repos_url":"https://api.github.com/users/haoyinag/repos","events_url":"https://api.github.com/users/haoyinag/events{/privacy}","received_events_url":"https://api.github.com/users/haoyinag/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-08T08:14:33Z","updated_at":"2018-06-11T02:44:08Z","closed_at":"2018-06-08T18:28:29Z","author_association":"NONE","body":"场景：Chrome\r\n动作：弹窗的content中初始化，然后裁剪，done之后执行clear()；如此执行两次以上次数会多次但不一定报错。\r\n报错信息：\r\nPhotoclip.js?d47c:1282 Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'\r\n    at _class._clipImg (Photoclip.js?d47c:1282)\r\n    at HTMLAnchorElement.proxy (Photoclip.js?d47c:278)\r\n结论：然而貌似不影响功能。\r\n\r\n（还有一个问题：为什么要先在容器内放一张图片(标签)，然后才能以这张图片为蓝本初始化呢？）\r\n"},"comment":{"url":"https://api.github.com/repos/baijunjie/PhotoClip.js/issues/comments/396107675","html_url":"https://github.com/baijunjie/PhotoClip.js/issues/72#issuecomment-396107675","issue_url":"https://api.github.com/repos/baijunjie/PhotoClip.js/issues/72","id":396107675,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjEwNzY3NQ==","user":{"login":"haoyinag","id":24349947,"node_id":"MDQ6VXNlcjI0MzQ5OTQ3","avatar_url":"https://avatars0.githubusercontent.com/u/24349947?v=4","gravatar_id":"","url":"https://api.github.com/users/haoyinag","html_url":"https://github.com/haoyinag","followers_url":"https://api.github.com/users/haoyinag/followers","following_url":"https://api.github.com/users/haoyinag/following{/other_user}","gists_url":"https://api.github.com/users/haoyinag/gists{/gist_id}","starred_url":"https://api.github.com/users/haoyinag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haoyinag/subscriptions","organizations_url":"https://api.github.com/users/haoyinag/orgs","repos_url":"https://api.github.com/users/haoyinag/repos","events_url":"https://api.github.com/users/haoyinag/events{/privacy}","received_events_url":"https://api.github.com/users/haoyinag/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T02:44:08Z","updated_at":"2018-06-11T02:44:08Z","author_association":"NONE","body":"有没有一个稳定版可以先用着呢"}}
{"actor":{"display_login":"haoyinag"}}