Skip to content

求教 当组件属性中存在array或者object类型的属性时,会导致TreeNodeWidget组件渲染两次或者三次的问题 #36

Answered by janryWang
superchenwb asked this question in Q&A
Discussion options

You must be logged in to vote

死循环的问题,我在最新版里已经修复了,渲染3次的问题是因为formily没对空对象或者空数组做取等判断,导致重复赋值,然后你上一个内存泄漏的问题,请录个复现视频出来,我这边再详细看看

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@superchenwb
Comment options

Comment options

You must be logged in to vote
1 reply
@superchenwb
Comment options

Comment options

You must be logged in to vote
1 reply
@superchenwb
Comment options

Answer selected by janryWang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants