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

关于创建group拖拽组件

Open chengpeng666 opened this issue 3 years ago • 2 comments

想在左侧的组件列表中添加group的组件按钮,但是group.js不知道怎么写。

const label = '数组组件'; const name = 'group'; export default { icon: 'icon-group', label, name, drag: true, dragBtn: true, rule() { return { field: uniqueId(), title: label, type: 'group', props:{ rules: [] } }; }, props() { return []; } }; ` 这样写没有办法向group里拖入其他组件。

chengpeng666 avatar Sep 21 '21 09:09 chengpeng666

拖拽目前还不支持 group 组件

xaboy avatar Sep 22 '21 02:09 xaboy

存在一样的需求,这个有什么思路么?

muuyao avatar Oct 25 '21 06:10 muuyao