-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: drawer option update sync #554
Conversation
|
没看明白这什么改法,两者在都是第一次open的情况下是等价的? |
第一次open没问题,存在问题的是后续再次open抽屉,且options有变更时,变更不会生效。 |
同一个drawerInternalComponentRef实例重复attach时会完整的重新走组件生命周期? |
internal component 在 internal component最好暴露个method来更新options |
为什么不直接改成每次都初始化新的internal component? |
1 |
可配置,options.disposeWhenHide 为 true 的话就会在每次打开时初始化 |
7ee21be
to
3d21193
Compare
8340874
to
2f832d4
Compare
修复重复打开抽屉options不会更新的问题