Skip to content

fix(vue): fixed modal component failed to trigger update in [email protected] #7244

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

Merged
merged 2 commits into from
Jan 5, 2024

Conversation

cc-hearts
Copy link
Contributor

In vue 3.4.x, the execution logic of the update function has been changed so that calling update directly does not update the component.

In this case, the logic for updating the component should be abstracted into a function (e.g. triggerVNodeUpdate), and any subsequent manual calls to update should be replaced with triggerVNodeUpdate(instance).

close #7239

@CCherry07 CCherry07 requested a review from tangjinzhou January 4, 2024 06:36
@tangjinzhou tangjinzhou merged commit 4ed2868 into vueComponent:main Jan 5, 2024
@cc-hearts cc-hearts deleted the fix/vue-3.4.x-update branch May 30, 2024 03:20
@devie2020
Copy link

这个BUG,2.x的版本能修复么

@ZedCoding
Copy link

antdv 3.2.20能修复么

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.

vuejs/core 升级 3.4.0 Slam Dunk 后 Modal 销毁出问题
4 participants