form-create icon indicating copy to clipboard operation
form-create copied to clipboard

自定义form组件如何接收和传递form-create调用时的参数

Open 1373720368 opened this issue 3 years ago • 1 comments

大佬,请问一下,如何实现业务调用formcreate时,能够将业务的参数带到自定义的form组件中,比如自己封装的下拉组件,这个下拉组件的数据源依赖外边传进来的参数,formCreate如何传递,我直接绑定在实例上初始化的时候无法实现响应式

1373720368 avatar Oct 18 '22 04:10 1373720368

可以通过 props.formCreateInject 参数接收 文档

xaboy avatar Oct 23 '22 10:10 xaboy