{"action":"created","issue":{"url":"https://api.github.com/repos/gomeplusFED/GER/issues/1","repository_url":"https://api.github.com/repos/gomeplusFED/GER","labels_url":"https://api.github.com/repos/gomeplusFED/GER/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gomeplusFED/GER/issues/1/comments","events_url":"https://api.github.com/repos/gomeplusFED/GER/issues/1/events","html_url":"https://github.com/gomeplusFED/GER/issues/1","id":291834276,"node_id":"MDU6SXNzdWUyOTE4MzQyNzY=","number":1,"title":"proxyConsole 的问题","user":{"login":"mtdpcs","id":31687990,"node_id":"MDQ6VXNlcjMxNjg3OTkw","avatar_url":"https://avatars1.githubusercontent.com/u/31687990?v=4","gravatar_id":"","url":"https://api.github.com/users/mtdpcs","html_url":"https://github.com/mtdpcs","followers_url":"https://api.github.com/users/mtdpcs/followers","following_url":"https://api.github.com/users/mtdpcs/following{/other_user}","gists_url":"https://api.github.com/users/mtdpcs/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdpcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdpcs/subscriptions","organizations_url":"https://api.github.com/users/mtdpcs/orgs","repos_url":"https://api.github.com/users/mtdpcs/repos","events_url":"https://api.github.com/users/mtdpcs/events{/privacy}","received_events_url":"https://api.github.com/users/mtdpcs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-26T08:50:52Z","updated_at":"2018-06-05T11:36:35Z","closed_at":"2018-06-05T11:36:35Z","author_association":"NONE","body":"在proxy.js 中reportConsole这个方法 typeList的长度永远不可能大于10啊\r\n       let typeList = this.consoleList[ type ];\r\n        typeList = typeList || [];\r\n        typeList.push(\r\n            utils.assignObject( utils.getSystemParams(), {\r\n                msg: msg,\r\n                level: level,\r\n                rowNum: '',\r\n                colNum: '',\r\n                targetUrl: ''\r\n            } )\r\n        );\r\n        if ( typeList.length > 10 ) {\r\n            this.errorQueue = this.errorQueue.concat( typeList );\r\n            this.send( true, () => {\r\n                typeList = [];\r\n            } );\r\n        }"},"comment":{"url":"https://api.github.com/repos/gomeplusFED/GER/issues/comments/394677129","html_url":"https://github.com/gomeplusFED/GER/issues/1#issuecomment-394677129","issue_url":"https://api.github.com/repos/gomeplusFED/GER/issues/1","id":394677129,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDY3NzEyOQ==","user":{"login":"xiaojue","id":289225,"node_id":"MDQ6VXNlcjI4OTIyNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/289225?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaojue","html_url":"https://github.com/xiaojue","followers_url":"https://api.github.com/users/xiaojue/followers","following_url":"https://api.github.com/users/xiaojue/following{/other_user}","gists_url":"https://api.github.com/users/xiaojue/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaojue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaojue/subscriptions","organizations_url":"https://api.github.com/users/xiaojue/orgs","repos_url":"https://api.github.com/users/xiaojue/repos","events_url":"https://api.github.com/users/xiaojue/events{/privacy}","received_events_url":"https://api.github.com/users/xiaojue/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T11:36:35Z","updated_at":"2018-06-05T11:36:35Z","author_association":"CONTRIBUTOR","body":"看了一下代码，应该是每次调用reportConsole的时候，也就是console.log的时候都会往consoleList[type]里push一个错误，然后大于10的时候再去send，这里其实proxy的功能目前bug还比较多，建议慎用proxy功能，这里我回去真实情况测试下。"}}
{"actor":{"display_login":"xiaojue"}}