{"action":"created","issue":{"url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/207","repository_url":"https://api.github.com/repos/vueComponent/ant-design-vue","labels_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/207/comments","events_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/207/events","html_url":"https://github.com/vueComponent/ant-design-vue/issues/207","id":365237649,"node_id":"MDU6SXNzdWUzNjUyMzc2NDk=","number":207,"title":"form在template下，setFieldsValue时报“You cannot set field before registering it”错误","user":{"login":"qutz","id":23071957,"node_id":"MDQ6VXNlcjIzMDcxOTU3","avatar_url":"https://avatars1.githubusercontent.com/u/23071957?v=4","gravatar_id":"","url":"https://api.github.com/users/qutz","html_url":"https://github.com/qutz","followers_url":"https://api.github.com/users/qutz/followers","following_url":"https://api.github.com/users/qutz/following{/other_user}","gists_url":"https://api.github.com/users/qutz/gists{/gist_id}","starred_url":"https://api.github.com/users/qutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qutz/subscriptions","organizations_url":"https://api.github.com/users/qutz/orgs","repos_url":"https://api.github.com/users/qutz/repos","events_url":"https://api.github.com/users/qutz/events{/privacy}","received_events_url":"https://api.github.com/users/qutz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-30T16:16:10Z","updated_at":"2018-09-30T16:35:05Z","closed_at":null,"author_association":"NONE","body":"环境：1、通过modal方式创建form,进入页面时modal隐藏\r\n2、打开modal,显示form,此时设置值\r\n3、form中相对于的值显示出来\r\n3、console出现错误“You cannot set field before registering it”\r\n\r\n具体代码如下：\r\n`    handleEdit (record) {\r\n      //显示modal\r\n      this.visible = true\r\n      this.$nextTick(() => {\r\n        //设置显示值\r\n        this.form.setFieldsValue({ ...record })\r\n      })\r\n    },`\r\n\r\n显示值没有问题，就是在console中出现错误"},"comment":{"url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/comments/425733437","html_url":"https://github.com/vueComponent/ant-design-vue/issues/207#issuecomment-425733437","issue_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/207","id":425733437,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTczMzQzNw==","user":{"login":"qutz","id":23071957,"node_id":"MDQ6VXNlcjIzMDcxOTU3","avatar_url":"https://avatars1.githubusercontent.com/u/23071957?v=4","gravatar_id":"","url":"https://api.github.com/users/qutz","html_url":"https://github.com/qutz","followers_url":"https://api.github.com/users/qutz/followers","following_url":"https://api.github.com/users/qutz/following{/other_user}","gists_url":"https://api.github.com/users/qutz/gists{/gist_id}","starred_url":"https://api.github.com/users/qutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qutz/subscriptions","organizations_url":"https://api.github.com/users/qutz/orgs","repos_url":"https://api.github.com/users/qutz/repos","events_url":"https://api.github.com/users/qutz/events{/privacy}","received_events_url":"https://api.github.com/users/qutz/received_events","type":"User","site_admin":false},"created_at":"2018-09-30T16:35:05Z","updated_at":"2018-09-30T16:35:05Z","author_association":"NONE","body":"问题已经解决，是record的属性太多了，form没有对应的字段"}}
{"actor":{"display_login":"qutz"}}