报错提示: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只能有一个根元素,如果有超过一个元素应该加上v-else-if
解决vue报错Component template should contain exactly one root element. If you are using v-if on multiple
最新推荐文章于 2023-07-27 22:46:16 发布