Skip to content
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

页面宽度变化,组件无法自动计算宽度。 #48

Open
anyone-yuren opened this issue Oct 31, 2022 · 1 comment
Open

页面宽度变化,组件无法自动计算宽度。 #48

anyone-yuren opened this issue Oct 31, 2022 · 1 comment

Comments

@anyone-yuren
Copy link

20221031155801
已经tian添加了key,来重新让组件渲染,貌似不生效。
image

@anyone-yuren
Copy link
Author

由于菜单收缩是有动画的,目前只能设置与动画相同的时间后,改变key的值让组件重新更新。

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

No branches or pull requests

1 participant