designable icon indicating copy to clipboard operation
designable copied to clipboard

[Bug Report]Formily 中的 transformer findNode,如果有children,会抛异常

Open rudyzou opened this issue 2 years ago • 3 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://github.com/alibaba/designable/blob/main/formily/transformer/src/index.ts

Steps to reproduce

Formily antd 中的 transformer findNode,如果有children,会抛异常 ​finder is not a function

​在查找children时,没有传入 finder 导致异常

/transformer/index文件的28行 image

What is expected?

form不在第一层,不应该抛异常

What is actually happening?

form不在第一层,抛异常

Package

rudyzou avatar Apr 10 '22 04:04 rudyzou

同样的问题

tangtanglove avatar Apr 14 '22 10:04 tangtanglove

想做成通用的设计器,根组件不一定是form

tangtanglove avatar Apr 14 '22 10:04 tangtanglove

想做成通用的设计器,根组件不一定是form

赞同,应该去掉form

tanyo520 avatar May 12 '22 05:05 tanyo520