let obj={
name:data.label,
property:'Header',
propertyType:'',
execute:[
{t:'',v:''}
]
}
this.model = Object.assign({}, obj)
this.$nextTick(()=>{
setTimeout(() => {
this.form.setFieldsValue(.pick(_this.model, 'name', 'property','propertyType','execute'));
_this.form.getFieldValue('execute')
})
});
用的UI框架是ant design of vue,execute是个数组,这块设置它的setFieldsValue,一直报错You cannot set a form field before rendering a field associated with the value