-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
切换组件报错,可能是transition+keep-alive的问题 #5680
Labels
Comments
function toggleCC(){
t.value = 2;
+ nextTick(() => {
Comp.value=CC // 挂载到Parent 行为
+ });
}
|
是的,加了nextTick不报错了。如果是去掉transition也不报错 |
edison1105
added
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
has workaround
A workaround has been found to avoid the problem
and removed
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
labels
Aug 12, 2024
Closing as it can not reproduce anymore. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Version
3.2.27 及以上
Reproduction link
sfc.vuejs.org/
Steps to reproduce
然后就报错了,怎么点都报错
What is expected?
正常切换组件
What is actually happening?
切换报错
The text was updated successfully, but these errors were encountered: