{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/434","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/434/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/434/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/434/events","html_url":"https://github.com/ElemeFE/element/issues/434","id":183195604,"number":434,"title":"Dialog不能触发close回调","user":{"login":"mahavira","id":2460983,"avatar_url":"https://avatars.githubusercontent.com/u/2460983?v=3","gravatar_id":"","url":"https://api.github.com/users/mahavira","html_url":"https://github.com/mahavira","followers_url":"https://api.github.com/users/mahavira/followers","following_url":"https://api.github.com/users/mahavira/following{/other_user}","gists_url":"https://api.github.com/users/mahavira/gists{/gist_id}","starred_url":"https://api.github.com/users/mahavira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahavira/subscriptions","organizations_url":"https://api.github.com/users/mahavira/orgs","repos_url":"https://api.github.com/users/mahavira/repos","events_url":"https://api.github.com/users/mahavira/events{/privacy}","received_events_url":"https://api.github.com/users/mahavira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-15T07:48:25Z","updated_at":"2016-10-15T11:26:22Z","closed_at":null,"body":"> `<el-dialog v-model=\"visible\" @close=\"close\">\r\n    <p>这是一段信息</p>\r\n</el-dialog>`\r\n\r\n其中visible是vuex的state，因为不能直接修改visible，所以当点击右上角X或按下ESC后并没有触发close的回调。\r\n\r\n不知道有什么好的解决方法？\r\n或者是否可以在close回调之前添加一个beforeClose来解决这个问题。\r\n问题复现在这里\r\nhttps://jsfiddle.net/ssjedcw/1e9sm2oo/8/"},"comment":{"url":"https://api.github.com/repos/ElemeFE/element/issues/comments/253978536","html_url":"https://github.com/ElemeFE/element/issues/434#issuecomment-253978536","issue_url":"https://api.github.com/repos/ElemeFE/element/issues/434","id":253978536,"user":{"login":"QingWei-Li","id":7565692,"avatar_url":"https://avatars.githubusercontent.com/u/7565692?v=3","gravatar_id":"","url":"https://api.github.com/users/QingWei-Li","html_url":"https://github.com/QingWei-Li","followers_url":"https://api.github.com/users/QingWei-Li/followers","following_url":"https://api.github.com/users/QingWei-Li/following{/other_user}","gists_url":"https://api.github.com/users/QingWei-Li/gists{/gist_id}","starred_url":"https://api.github.com/users/QingWei-Li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QingWei-Li/subscriptions","organizations_url":"https://api.github.com/users/QingWei-Li/orgs","repos_url":"https://api.github.com/users/QingWei-Li/repos","events_url":"https://api.github.com/users/QingWei-Li/events{/privacy}","received_events_url":"https://api.github.com/users/QingWei-Li/received_events","type":"User","site_admin":false},"created_at":"2016-10-15T11:26:22Z","updated_at":"2016-10-15T11:26:22Z","body":"@input 啊"}}
{"actor":{"display_login":"QingWei-Li"}}