{"action":"created","issue":{"url":"https://api.github.com/repos/chemzqm/wept/issues/2","repository_url":"https://api.github.com/repos/chemzqm/wept","labels_url":"https://api.github.com/repos/chemzqm/wept/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/chemzqm/wept/issues/2/comments","events_url":"https://api.github.com/repos/chemzqm/wept/issues/2/events","html_url":"https://github.com/chemzqm/wept/issues/2","id":183189843,"number":2,"title":"使用报错：TypeError: logs.unshift is not a function","user":{"login":"huike1989","id":7878971,"avatar_url":"https://avatars.githubusercontent.com/u/7878971?v=3","gravatar_id":"","url":"https://api.github.com/users/huike1989","html_url":"https://github.com/huike1989","followers_url":"https://api.github.com/users/huike1989/followers","following_url":"https://api.github.com/users/huike1989/following{/other_user}","gists_url":"https://api.github.com/users/huike1989/gists{/gist_id}","starred_url":"https://api.github.com/users/huike1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huike1989/subscriptions","organizations_url":"https://api.github.com/users/huike1989/orgs","repos_url":"https://api.github.com/users/huike1989/repos","events_url":"https://api.github.com/users/huike1989/events{/privacy}","received_events_url":"https://api.github.com/users/huike1989/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-15T05:20:39Z","updated_at":"2016-10-15T09:02:31Z","closed_at":null,"body":"log 存储在localstorage。 在 app.js  中\r\n刷新页面的时候\r\nvar logs = wx.getStorageSync('logs') || [];会报错\r\n\r\n是不是需要JSON.parse  下呢？\r\n"},"comment":{"url":"https://api.github.com/repos/chemzqm/wept/issues/comments/253972113","html_url":"https://github.com/chemzqm/wept/issues/2#issuecomment-253972113","issue_url":"https://api.github.com/repos/chemzqm/wept/issues/2","id":253972113,"user":{"login":"moxiaobei2","id":11829981,"avatar_url":"https://avatars.githubusercontent.com/u/11829981?v=3","gravatar_id":"","url":"https://api.github.com/users/moxiaobei2","html_url":"https://github.com/moxiaobei2","followers_url":"https://api.github.com/users/moxiaobei2/followers","following_url":"https://api.github.com/users/moxiaobei2/following{/other_user}","gists_url":"https://api.github.com/users/moxiaobei2/gists{/gist_id}","starred_url":"https://api.github.com/users/moxiaobei2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxiaobei2/subscriptions","organizations_url":"https://api.github.com/users/moxiaobei2/orgs","repos_url":"https://api.github.com/users/moxiaobei2/repos","events_url":"https://api.github.com/users/moxiaobei2/events{/privacy}","received_events_url":"https://api.github.com/users/moxiaobei2/received_events","type":"User","site_admin":false},"created_at":"2016-10-15T09:02:31Z","updated_at":"2016-10-15T09:02:31Z","body":"已经更新了吗？还是报错的？\r\nSyntaxError: Unexpected end of JSON input\r\n    at Object.parse (native)\r\n    at fs.readFile.e (C:\\Users\\bb\\AppData\\Roaming\\npm\\node_modules\\wept\\lib\\util.js:29:34)\r\n    at tryToString (fs.js:455:3)\r\n    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)"}}
{"actor":{"display_login":"moxiaobei2"}}