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
解决
在组件内写代码时先包裹一层div
Ctrl+s
解决Component template should contain exactly one root element...
于 2021-11-10 19:52:16 首次发布