{"action":"created","issue":{"url":"https://api.github.com/repos/think2011/localResizeIMG4/issues/29","labels_url":"https://api.github.com/repos/think2011/localResizeIMG4/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/think2011/localResizeIMG4/issues/29/comments","events_url":"https://api.github.com/repos/think2011/localResizeIMG4/issues/29/events","html_url":"https://github.com/think2011/localResizeIMG4/issues/29","id":111132097,"number":29,"title":"lrz(this.files[0])显示Cannot read property '0' of undefined","user":{"login":"qz2374876","id":15102776,"avatar_url":"https://avatars.githubusercontent.com/u/15102776?v=3","gravatar_id":"","url":"https://api.github.com/users/qz2374876","html_url":"https://github.com/qz2374876","followers_url":"https://api.github.com/users/qz2374876/followers","following_url":"https://api.github.com/users/qz2374876/following{/other_user}","gists_url":"https://api.github.com/users/qz2374876/gists{/gist_id}","starred_url":"https://api.github.com/users/qz2374876/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qz2374876/subscriptions","organizations_url":"https://api.github.com/users/qz2374876/orgs","repos_url":"https://api.github.com/users/qz2374876/repos","events_url":"https://api.github.com/users/qz2374876/events{/privacy}","received_events_url":"https://api.github.com/users/qz2374876/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-13T08:31:39Z","updated_at":"2015-10-14T00:42:27Z","closed_at":null,"body":"为什么在上传图片后就会提示这个，在lrz(this.files[0])处，chrome浏览器"},"comment":{"url":"https://api.github.com/repos/think2011/localResizeIMG4/issues/comments/147892844","html_url":"https://github.com/think2011/localResizeIMG4/issues/29#issuecomment-147892844","issue_url":"https://api.github.com/repos/think2011/localResizeIMG4/issues/29","id":147892844,"user":{"login":"qz2374876","id":15102776,"avatar_url":"https://avatars.githubusercontent.com/u/15102776?v=3","gravatar_id":"","url":"https://api.github.com/users/qz2374876","html_url":"https://github.com/qz2374876","followers_url":"https://api.github.com/users/qz2374876/followers","following_url":"https://api.github.com/users/qz2374876/following{/other_user}","gists_url":"https://api.github.com/users/qz2374876/gists{/gist_id}","starred_url":"https://api.github.com/users/qz2374876/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qz2374876/subscriptions","organizations_url":"https://api.github.com/users/qz2374876/orgs","repos_url":"https://api.github.com/users/qz2374876/repos","events_url":"https://api.github.com/users/qz2374876/events{/privacy}","received_events_url":"https://api.github.com/users/qz2374876/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T00:42:27Z","updated_at":"2015-10-14T00:42:27Z","body":"<%@ Page Language=\"C#\" AutoEventWireup=\"true\" CodeFile=\"Default3.aspx.cs\" Inherits=\"Default3\" %>\r\n\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" >\r\n<head runat=\"server\">\r\n    <title>无标题页</title>\r\n    <script type=\"text/javascript\" src=\"localResizeIMG4-master/dist/lrz.bundle.js\"></script>\r\n</head>\r\n<body>\r\n    <form id=\"form1\" runat=\"server\">\r\n    <input onchange=\"upload()\" type=\"file\" accept=\"image/*\" />\r\n    </form>\r\n</body>\r\n</html>\r\n<script type=\"text/javascript\">\r\nfunction upload () {\r\n    lrz(this.files[0])\r\n        .then(function (rst) {\r\n            // 处理成功会执行\r\n        })\r\n        .catch(function (err) {\r\n            // 处理失败会执行\r\n        })\r\n        .always(function () {\r\n            // 不管是成功失败，都会执行\r\n        });\r\n};\r\n</script>"}}