VueComponent template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead. 执行 $ npm run watch报错: 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. 模板代码 <template……继续阅读 » 5个月前 (10-04) 239浏览 0评论 0个赞