Component template should contain exactly one root element. If you are using v-if on multiple eleme
情境描述今天使用vue框架做项目的时候,突然出错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.到百度翻译成中文的意思是组件模板应正好包含一个根元素。如果在多个...
原创
2020-02-03 08:16:42 ·
2263 阅读 ·
0 评论