{"action":"created","issue":{"url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/206","repository_url":"https://api.github.com/repos/vueComponent/ant-design-vue","labels_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/206/comments","events_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/206/events","html_url":"https://github.com/vueComponent/ant-design-vue/issues/206","id":365091708,"node_id":"MDU6SXNzdWUzNjUwOTE3MDg=","number":206,"title":"class @Component 装饰器创建的组件  方式使用`Form.create()(UserForm)`时候 在render 函数中找不到 from","user":{"login":"myzhoulang","id":7009272,"node_id":"MDQ6VXNlcjcwMDkyNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/7009272?v=4","gravatar_id":"","url":"https://api.github.com/users/myzhoulang","html_url":"https://github.com/myzhoulang","followers_url":"https://api.github.com/users/myzhoulang/followers","following_url":"https://api.github.com/users/myzhoulang/following{/other_user}","gists_url":"https://api.github.com/users/myzhoulang/gists{/gist_id}","starred_url":"https://api.github.com/users/myzhoulang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myzhoulang/subscriptions","organizations_url":"https://api.github.com/users/myzhoulang/orgs","repos_url":"https://api.github.com/users/myzhoulang/repos","events_url":"https://api.github.com/users/myzhoulang/events{/privacy}","received_events_url":"https://api.github.com/users/myzhoulang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-29T03:22:27Z","updated_at":"2018-09-29T07:04:01Z","closed_at":null,"author_association":"NONE","body":"- [ ] I have searched the [issues](https://github.com/vueComponent/ant-design-vue/issues)         of this repository and believe that this is not a duplicate.\r\n        \r\n        \r\n### Version\r\n1.1.3\r\n\r\n### Environment\r\nwindow10, 所有浏览器， vue: 2.5.2\r\n\r\n### Reproduction link\r\n[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/lp4o6v3vlm)\r\n\r\n### Steps to reproduce\r\n```javascript\r\nimport { Vue, Component } from 'vue-property-decorator';\r\nimport { Form } from 'ant-design-vue';\r\n\r\n@Component()\r\nclass UserForm extends Vue {\r\nrender() {\r\nconst { getFieldDecorator } = this.form;   // this.form 是undefined\r\nconsole.log(getFieldDecorator);\r\nreturn <div>1213</div>;\r\n}\r\n}\r\nexport default Form.create()(UserForm);\r\n```\r\n\r\n### What is expected?\r\n期望能够正常获取到this.form\r\n\r\n### What is actually happening?\r\nundefined\r\n\r\n\r\n\r\n        \r\n\r\n<!-- generated by issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/comments/425622385","html_url":"https://github.com/vueComponent/ant-design-vue/issues/206#issuecomment-425622385","issue_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/206","id":425622385,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTYyMjM4NQ==","user":{"login":"tangjinzhou","id":6937879,"node_id":"MDQ6VXNlcjY5Mzc4Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/6937879?v=4","gravatar_id":"","url":"https://api.github.com/users/tangjinzhou","html_url":"https://github.com/tangjinzhou","followers_url":"https://api.github.com/users/tangjinzhou/followers","following_url":"https://api.github.com/users/tangjinzhou/following{/other_user}","gists_url":"https://api.github.com/users/tangjinzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/tangjinzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangjinzhou/subscriptions","organizations_url":"https://api.github.com/users/tangjinzhou/orgs","repos_url":"https://api.github.com/users/tangjinzhou/repos","events_url":"https://api.github.com/users/tangjinzhou/events{/privacy}","received_events_url":"https://api.github.com/users/tangjinzhou/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T07:04:01Z","updated_at":"2018-09-29T07:04:01Z","author_association":"MEMBER","body":"你可以手动声明属性 https://codesandbox.io/s/lp4o6v3vlm\r\n```\r\n@Component({\r\n  props: {\r\n    form: Object\r\n  }\r\n})\r\n```"}}
{"actor":{"display_login":"tangjinzhou"}}