vue3 Component inside <Transition> renders non-element root node that cannot be animated.
然后怎么解决的,在template元素里面放了多个节点所以报这个错误,我们先写一个div里面写就可以解决
<template><div><el-card>123</el-card><el-card>456</el-card></div>
</template><script lang="ts" setup></script><style lang="scss" scoped>
</style>
报错时候的代码
<template><el-card>123</el-card><el-card>456</el-card></template><script lang="ts" setup></script><style lang="scss" scoped>
</style>