-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
children与组合是否存在bug? #5046
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
utils.ts
DataOverview.tsx:
SearchHeader.tsx:
SortTableTitle.tsx:
期望:
console.log(yesterday[0].format('l'), yesterday[1].format('l'), days[0].format('l'), days[1].format('l'))能输出预期的不变的常量结果。
结果:
yesterday,days会随着onChange变化而变化,当SortTableTitle组件去掉range和date,则console.log(yesterday[0].format('l'), yesterday[1].format('l'), days[0].format('l'), days[1].format('l'))输出为原本期望的结果。
备注:同样的代码react无此问题!
The text was updated successfully, but these errors were encountered: