alibaba / formily

📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
https://formilyjs.org/
MIT License
11.26k stars 1.46k forks source link

[Bug Report] field设置setComponentProps后组件未渲染 #3899

Closed 007sair closed 1 year ago

007sair commented 1 year ago

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击 设置“A1”的标题为“A1(新)” 按钮

What is expected?

点击按钮 设置“A1”的标题为“A1(新)” 后A1的标题发生变化

What is actually happening?

点击按钮 设置“A1”的标题为“A1(新)” 后A1的标题未发生变化

Package

@formily/antd-v5@1.1.0


hchlq commented 1 year ago

原因是 antd 中的组件在合并 componentProps 的时候失去了依赖收集能力