amis icon indicating copy to clipboard operation
amis copied to clipboard

自定义组件的问题

Open theojia opened this issue 5 years ago • 2 comments

在自定义组件-React的方式中,如何嵌入amis的内置组件,比如嵌入 { "type": "input-table", "name": "table", "columns":: [] } 的组件,各位大佬麻烦帮忙解答一下~

theojia avatar Jul 19 '21 11:07 theojia

'amis/lib/components/index'这里面找不到input-table,不知道还有什么办法

theojia avatar Jul 19 '21 12:07 theojia

props 里有 render 方法,不过还是更推荐再用 amis 顶层的 render 方法来重新渲染,避免数据链冲突

nwind avatar Nov 03 '21 08:11 nwind