![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误
前端幼儿班小朋友
这个作者很懒,什么都没留下…
展开
-
Vue报错笔记(1) [Vue warn]: Property or method "name" is not defined on the instance but referenced.....
[Vue warn]: Property or method "name" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option. 原因:在data中没有定义一个name, 致错解决方...原创 2018-11-17 17:30:24 · 81572 阅读 · 7 评论 -
Vue错误(2):Uncaught SyntaxError: Invalid shorthand property initializer
Uncaught SyntaxError: Invalid shorthand property initializer原因: data中的一个属性冒号写成了"="号解决方法: 等号改成冒号原创 2018-11-17 20:10:52 · 2995 阅读 · 0 评论