{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/1447","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/1447/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/1447/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/1447/events","html_url":"https://github.com/ElemeFE/element/issues/1447","id":192183943,"number":1447,"title":"重置表单出错：Cannot read property 'resetFields' of undefined","user":{"login":"lampo1024","id":3262079,"avatar_url":"https://avatars.githubusercontent.com/u/3262079?v=3","gravatar_id":"","url":"https://api.github.com/users/lampo1024","html_url":"https://github.com/lampo1024","followers_url":"https://api.github.com/users/lampo1024/followers","following_url":"https://api.github.com/users/lampo1024/following{/other_user}","gists_url":"https://api.github.com/users/lampo1024/gists{/gist_id}","starred_url":"https://api.github.com/users/lampo1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lampo1024/subscriptions","organizations_url":"https://api.github.com/users/lampo1024/orgs","repos_url":"https://api.github.com/users/lampo1024/repos","events_url":"https://api.github.com/users/lampo1024/events{/privacy}","received_events_url":"https://api.github.com/users/lampo1024/received_events","type":"User","site_admin":false},"labels":[{"id":447924545,"url":"https://api.github.com/repos/ElemeFE/element/labels/need%20repro","name":"need repro","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-29T04:15:18Z","updated_at":"2016-12-01T12:24:34Z","closed_at":null,"body":"<!--\r\n提交 issue 前请务必查看 FAQ：https://github.com/ElemeFE/element/blob/master/FAQ.md。如果你的问题可以在 FAQ 中找到解决方案，我们会直接关闭 issue。\r\n -->\r\n\r\n<!--\r\nissue 仅用于提交 bug 或 feature 以及设计相关的内容，其它疑问请到 gitter 聊天室找社区里面的小伙伴聊一聊：https://gitter.im/ElemeFE/element\r\n -->\r\n \r\n<!--\r\nIssues are exclusively for bug reports and feature requests. For other questions, please visit gitter: https://gitter.im/ElemeFE/element\r\n-->\r\n\r\n<!--\r\nThank you for contributing! Please carefully read the following before opening your issue.\r\n -->\r\n\r\n### ElementUI version\r\n<!-- 1.0.3 -->\r\n\r\n### OS/Browers version\r\n<!-- macOS/Chrome 53 -->\r\n\r\n### Vue version\r\n<!-- 2.0.0-rc.4 -->\r\n\r\n### Reproduction Link\r\n<!-- A minimal JSBin, JSFiddle, Codepen, or a GitHub repository that can reproduce the bug. -->\r\n<!-- https://codepen.io/anon/pen/ozYpNA -->\r\n<!-- https://jsfiddle.net/gmve9d3p/ -->\r\n\r\n### Steps to reproduce\r\n\r\n### What is Expected?\r\n\r\n### What is actually happening?\r\n重置表单出错：Cannot read property 'resetFields' of undefined,表单是动态创建的，比如：\r\n\r\n```\r\n<el-dialog :title=\"dialogOption.title + dialogOption.block\" v-model=\"dialogOption.visible\" size=\"tiny\">\r\n            <el-form ref=\"formModel\" :model=\"formModel\" :rules=\"rules\" label-width=\"90px\">\r\n                <dynamic-form :formModel=\"formModel\" :formFields=\"formFields\" :sources=\"sources\" :rules=\"rules\"></dynamic-form>\r\n            </el-form>\r\n            <span slot=\"footer\" class=\"dialog-footer\">\r\n                <el-button @click.native=\"handleCancel\">取 消</el-button>\r\n                <el-button type=\"primary\" @click.native=\"submitForm\">确 定</el-button>\r\n            </span>\r\n</el-dialog>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ElemeFE/element/issues/comments/264160848","html_url":"https://github.com/ElemeFE/element/issues/1447#issuecomment-264160848","issue_url":"https://api.github.com/repos/ElemeFE/element/issues/1447","id":264160848,"user":{"login":"lampo1024","id":3262079,"avatar_url":"https://avatars.githubusercontent.com/u/3262079?v=3","gravatar_id":"","url":"https://api.github.com/users/lampo1024","html_url":"https://github.com/lampo1024","followers_url":"https://api.github.com/users/lampo1024/followers","following_url":"https://api.github.com/users/lampo1024/following{/other_user}","gists_url":"https://api.github.com/users/lampo1024/gists{/gist_id}","starred_url":"https://api.github.com/users/lampo1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lampo1024/subscriptions","organizations_url":"https://api.github.com/users/lampo1024/orgs","repos_url":"https://api.github.com/users/lampo1024/repos","events_url":"https://api.github.com/users/lampo1024/events{/privacy}","received_events_url":"https://api.github.com/users/lampo1024/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T12:24:34Z","updated_at":"2016-12-01T12:24:34Z","body":"@Leopoldthecoder Demo被篡改了？"}}
{"actor":{"display_login":"lampo1024"}}