{"action":"created","issue":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/18","repository_url":"https://api.github.com/repos/Meituan-Dianping/mpvue","labels_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/18/comments","events_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/18/events","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/18","id":303777976,"number":18,"title":"v-else好像有bug，在v-else区块的标签上的事件会丢失。","user":{"login":"pcloth","id":18551791,"avatar_url":"https://avatars1.githubusercontent.com/u/18551791?v=4","gravatar_id":"","url":"https://api.github.com/users/pcloth","html_url":"https://github.com/pcloth","followers_url":"https://api.github.com/users/pcloth/followers","following_url":"https://api.github.com/users/pcloth/following{/other_user}","gists_url":"https://api.github.com/users/pcloth/gists{/gist_id}","starred_url":"https://api.github.com/users/pcloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcloth/subscriptions","organizations_url":"https://api.github.com/users/pcloth/orgs","repos_url":"https://api.github.com/users/pcloth/repos","events_url":"https://api.github.com/users/pcloth/events{/privacy}","received_events_url":"https://api.github.com/users/pcloth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T09:34:29Z","updated_at":"2018-03-09T09:36:20Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nIMPORTANT: Please use the following link to create a new issue:\r\n\r\n  https://new-issue.vuejs.org/\r\n\r\nIf your issue was not created using the app above, it will be closed immediately.\r\n\r\n中文用户请注意：\r\n请使用上面的链接来创建新的 issue。如果不是用上述工具创建的 issue 会被自动关闭。\r\n-->\r\n\r\n测试代码：\r\n```\r\n    <button @tap=\"changeView\">切换v-if</button>\r\n\r\n    <view v-if=\"show\">\r\n      <button @click=\"increment\">+</button>\r\n\r\n    </view>\r\n    <view v-else>\r\n      <button @click=\"decrement\">-</button>\r\n    </view>\r\n```\r\n\r\n在v-else区块里的click事件不会被触发，v-else-if也不会触发事件。\r\n换成v-if=\"!show\"就可以响应。\r\n换成v-show也可以响应\r\n"},"comment":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/comments/371762112","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/18#issuecomment-371762112","issue_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/18","id":371762112,"user":{"login":"doudoul","id":5661202,"avatar_url":"https://avatars3.githubusercontent.com/u/5661202?v=4","gravatar_id":"","url":"https://api.github.com/users/doudoul","html_url":"https://github.com/doudoul","followers_url":"https://api.github.com/users/doudoul/followers","following_url":"https://api.github.com/users/doudoul/following{/other_user}","gists_url":"https://api.github.com/users/doudoul/gists{/gist_id}","starred_url":"https://api.github.com/users/doudoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doudoul/subscriptions","organizations_url":"https://api.github.com/users/doudoul/orgs","repos_url":"https://api.github.com/users/doudoul/repos","events_url":"https://api.github.com/users/doudoul/events{/privacy}","received_events_url":"https://api.github.com/users/doudoul/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T09:36:20Z","updated_at":"2018-03-09T09:36:20Z","author_association":"NONE","body":"请问你是怎么把vue这个代码和小程序结合在一起的呀？请教一下"}}
{"actor":{"display_login":"doudoul"}}