Skip to content

Conversation

@2betop
Copy link
Member

@2betop 2betop commented Oct 28, 2021

可以修复:

#2704
#2750
#2742

旧版本中可以的原因是,之前是用的 willRecieveProps ,新版本中改成了 didUpdate,所以 dialog 在弹出瞬间的初始值其实是旧的,需要等待 didUpdate 后才会刷新过来,所以首次获取值是旧的,解决办法是,关闭态不渲染成员节点,打开以及打开动画中才渲染。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

列表点击按钮弹窗第一次参数传递不过去

2 participants