Skip to content

2.0 同一份 schema 渲染多个 field 的场景(array.items) 改其中一个 field.componentProps.xxx = xxx 导致所有 field 一起变化 #1426

Answered by janryWang
linfaxin asked this question in Q&A [2.x]
Discussion options

You must be logged in to vote

已经修复了,主要解决思路是本身compiler就是一次深度递归编译,所以就在toFieldProps的时候,直接复用compiled的Schema即可

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by janryWang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants