正确解决Component template shold contain exactly one root element.If you are useing v-if on multiple elements , xxxxx异常的有效解决方法 文章目录 报错问题 报错原因 解决方法 报错问题 Component template shold contain exactly one root element.If you are useing v-if on multiple elements , xxxxx异常