{"action":"opened","issue":{"url":"https://api.github.com/repos/zhiyicx/plus-component-h5/issues/348","repository_url":"https://api.github.com/repos/zhiyicx/plus-component-h5","labels_url":"https://api.github.com/repos/zhiyicx/plus-component-h5/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/zhiyicx/plus-component-h5/issues/348/comments","events_url":"https://api.github.com/repos/zhiyicx/plus-component-h5/issues/348/events","html_url":"https://github.com/zhiyicx/plus-component-h5/issues/348","id":321104545,"number":348,"title":"获取文件 报跨域错误 其他 api 接口 正常 ","user":{"login":"zanjs","id":12947276,"avatar_url":"https://avatars0.githubusercontent.com/u/12947276?v=4","gravatar_id":"","url":"https://api.github.com/users/zanjs","html_url":"https://github.com/zanjs","followers_url":"https://api.github.com/users/zanjs/followers","following_url":"https://api.github.com/users/zanjs/following{/other_user}","gists_url":"https://api.github.com/users/zanjs/gists{/gist_id}","starred_url":"https://api.github.com/users/zanjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanjs/subscriptions","organizations_url":"https://api.github.com/users/zanjs/orgs","repos_url":"https://api.github.com/users/zanjs/repos","events_url":"https://api.github.com/users/zanjs/events{/privacy}","received_events_url":"https://api.github.com/users/zanjs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-08T09:12:44Z","updated_at":"2018-05-08T09:12:44Z","closed_at":null,"author_association":"NONE","body":"```\r\nFailed to load http://127.0.0.1:8000/api/v2/files/4?q=40&json=1: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:5000' is therefore not allowed access.\r\n```\r\n发起  `get` 请求为何 请求发起了 `OPTIONS`\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"zanjs"}}