{"action":"closed","issue":{"url":"https://api.github.com/repos/Tencent/wepy/issues/1350","repository_url":"https://api.github.com/repos/Tencent/wepy","labels_url":"https://api.github.com/repos/Tencent/wepy/issues/1350/labels{/name}","comments_url":"https://api.github.com/repos/Tencent/wepy/issues/1350/comments","events_url":"https://api.github.com/repos/Tencent/wepy/issues/1350/events","html_url":"https://github.com/Tencent/wepy/issues/1350","id":321833514,"node_id":"MDU6SXNzdWUzMjE4MzM1MTQ=","number":1350,"title":"unhandled promise rejection 没有任何提示","user":{"login":"liusome","id":13285305,"node_id":"MDQ6VXNlcjEzMjg1MzA1","avatar_url":"https://avatars2.githubusercontent.com/u/13285305?v=4","gravatar_id":"","url":"https://api.github.com/users/liusome","html_url":"https://github.com/liusome","followers_url":"https://api.github.com/users/liusome/followers","following_url":"https://api.github.com/users/liusome/following{/other_user}","gists_url":"https://api.github.com/users/liusome/gists{/gist_id}","starred_url":"https://api.github.com/users/liusome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liusome/subscriptions","organizations_url":"https://api.github.com/users/liusome/orgs","repos_url":"https://api.github.com/users/liusome/repos","events_url":"https://api.github.com/users/liusome/events{/privacy}","received_events_url":"https://api.github.com/users/liusome/received_events","type":"User","site_admin":false},"labels":[{"id":481100581,"node_id":"MDU6TGFiZWw0ODExMDA1ODE=","url":"https://api.github.com/repos/Tencent/wepy/labels/Inactive","name":"Inactive","color":"eeeeee","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-10T07:13:34Z","updated_at":"2018-07-13T11:15:38Z","closed_at":"2018-07-13T11:15:38Z","author_association":"NONE","body":"#280\r\n**问题复现步骤:**\r\n\r\n脚手架生成一个代码\r\n在index.vue里面的\r\n`created () {`\r\n`  (async () => {`\r\n`     let a = {}`\r\n`     a.b.c = 0`\r\n`  })()`\r\n`},`\r\n**期望的表现:**\r\n\r\n期望在控制台里面报告created中不能够赋值给undefined\r\n\r\n**观察到的表现:**\r\n\r\n没有任何提示\r\n\r\n**官方给出的回答是**\r\n![image](https://user-images.githubusercontent.com/13285305/39857082-ad614ea0-5464-11e8-85bf-48b7a1a61109.png)\r\n**小程序没有window对象，Promise对象的报错不会冒泡到全局，请看一下这个问题。** "}}
{"actor":{"display_login":"Gcaufy"}}