transition组件配合keep-alive动态组件使用时,目标组件如果是无根节点组件会出现切换路由无法渲染的问题。 #898
Closed
qq790880208
started this conversation in
General
Replies: 1 comment
-
请去 vuejs/core 项目讨论使用相关的问题,这里仅处理翻译相关事务,谢谢。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
问题描述:
transition组件配合keep-alive动态组件使用时,目标组件如果是无根节点组件,第一次渲染无问题,切换其他单节点组件后会出现组件无法渲染的问题。
vue-devtools调试工具看路由已经切换,但是组件下并无组件渲染。
代码实例:
路由组件:
渲染组件:
Beta Was this translation helpful? Give feedback.
All reactions