When there is no parent element in the component template, Invalid using the v-show directive
Vue version
3.2.37
Link to minimal reproduction
Steps to reproduce
使用 v-show 指令来控制子组件显示与隐藏时, 如果子组件中有多个根元素, 那么 v-show 指令无法生效
What is expected?
期待 v-show 能正常隐藏子组件所有元素
What is actually happening?
v-show 不起作用, 子组件所有元素在 v-show = false 时仍然显示出来
System Info
No response
Any additional comments?
No response