1.TypeError: data.forEach is not a function"
:data定义的是个对象{},改成数组[]就好
2.TypeError: data.forEach is not a function"
函数名字与属性名字重了,改名就好
3.Invalid prop: type check failed for prop "value". Expected String, Number, got Object
数据要获取的是字符串和数字,但是拿到的是一个对象,查看数据类型,将数据类型改回来就好
4.Property or method "artificial1" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
子组件直接引用了props里的值,这样父组件改变值时子组件会报错。
解决方法:将值data中复制一份,子组件引用复制的值
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。