vue3 使用递归渲染动态组件 里层动态组件渲染失败 #9817
Unanswered
myrcbd
asked this question in
Help/Questions
Replies: 1 comment
-
@myrcbd 代码没了哦,可以试一下把动态组件全局注册看看 |
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.
-
组件内包含动态组件,使用递归组件渲染后,只渲染出第一层动态组件,深层动态组件只渲染出标签名
从第二层开始动态组件渲染出现问题,只渲染了组件标签名字,内容渲染异常,外层有和里层一样的组件,里层的动态组件就可以渲染出来,
递归组件代码:
Beta Was this translation helpful? Give feedback.
All reactions