Component template should contain exactly one root element. If you are using v-if on multiple eleme
关于- Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.
解决方法:
vue文件中的正确标签:http://www.yayihouse.com/yayishuwu/chapter/2184
以下标签会报上述错误,中只能有一个根元素
还没有评论,来说两句吧...