We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.2.27 及以上
sfc.vuejs.org/
正常切换组件
切换报错
The text was updated successfully, but these errors were encountered:
Version 3.2.27 及以上 Reproduction link sfc.vuejs.org/ Steps to reproduce 输入11 点击切换 输入 22 点击前往CC 然后就报错了,怎么点都报错 What is expected? 正常切换组件 What is actually happening? 切换报错
function toggleCC(){ t.value = 2; + nextTick(() => { Comp.value=CC // 挂载到Parent 行为 + }); }
t.value = 2 卸载Parent dom行为 与 Comp.value=CC 挂载到Parent dom 行为,在同一队列下执行是矛盾的,如报错 Cannot read properties of null (reading 'parentNode')所说
t.value = 2
Comp.value=CC
Cannot read properties of null (reading 'parentNode')
Sorry, something went wrong.
是的,加了nextTick不报错了。如果是去掉transition也不报错
will be fixed by #7290 see https://deploy-preview-7290--vue-sfc-playground.netlify.app/#eNrVVc1uGjEQfhXLF4gEC0nUC13SklUOrfqnNLc4B8fMEifGXq29WyKC1FvbQ16iD9K3SZ+jY+8PhISeW4SEPT/fzDeeGZZ0kmVRWQAd0diKXGaOWHBFdsS0nGcmd2RJckh7xF5xpcyXU0jJiqS5mZMOunVas0lSSRmNBomZZxOPyijTpDY43jI4bg1IY5JsmSQbJkwLo60jgosreCfxNCbnHS46PdK5FJ0LNFCAEOiGmnW23UmyV6m8B1LpDvGeFlo4aTRxZjZT0N1b+iAuKrkqAO3q03g8fLU/GnqdTLu1sLIlIVRthty8bAXKwlMtliZomcYvIVuxk6SOvhn/4AlIktQY8aB6J3whvDiYZ4o7wBsh8VSW4YDHy8I5jPFaKCluxoxWwRit9Q/fv/2+/xmcBpVprdjlifFb3x/3D7++Vgk98maOudjlXFsZCJZ9mXoALCO5uyP4u88o0XwOKE35FNMhczP1N1O4vtR451kGPG+SqT/xDUDW50qWQEZSC1UEp/Moitp+uGjzW38wHYElNBq0Q0eLPr6kGGawHWGwDtGq4sGaTFPXHXhrqgeMVuDxoHoORFk/El6tu1VArDAZTFES+UL0ERDyPsfGKKHXCBXwEmohaXqkzWhETMaFdLdkGO2/sAS4hZehxx6D+pHagnSmgashRmTYuGJ/+QSPaI86TFKnchZdW6NxQwQfRn0JpIL8Y+bTsIyOGjRGw9i9DTKXF55KJcdHEjfPyK/twssY/ZSDhbzElmh1juczcJX65PMHWOC5VWLfFL6f/6I8BWtU4XOszI4LPcW0N+xCtm/C8pF6dmZPFg6wujUpn2gYumDPKC4j/9q7qK/TPYwOm4HHKrbb0O/YjVZopzWWOiv8PO/omWYxK65nvscw7OZ6nkIqdcgs9GWPaCzGGc5ujxj93hTYBNMeLpuN1R24+MUKiwCCELxQ4XcTqltz8xPrC8iF91nh/myXUM0vLPP/nt/lTn7hn2gXv2YT/svUxDPUVn8AtSesmA==
No branches or pull requests
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: