会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
11个条子
博客园
首页
新随笔
联系
管理
订阅
2018年5月22日
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.
摘要: vue模板只能有一个根对象 所以你想要出现正常的效果,你的用一个div来或是别的标签来包裹全部的元素 正确写法: <div> </div> 地址:https://www.cnblogs.com/liziyou/p/6708537.html
阅读全文
posted @ 2018-05-22 17:04 11个条子
阅读(288)
评论(0)
推荐(0)
公告