错误提示:The template root requires exactly one element vue/valid-template-root
错误原因:vue模板只支持一个元素,不能并列包含两个及以上。
解决措施:在外套一层div标签即可
转载于:https://www.jianshu.com/p/d08eb609891e
错误提示:The template root requires exactly one element vue/valid-template-root
错误原因:vue模板只支持一个元素,不能并列包含两个及以上。
解决措施:在外套一层div标签即可
转载于:https://www.jianshu.com/p/d08eb609891e