一个在bug中写代码的人 (组件bug)

75 阅读1分钟

错误的原因是因为没有加分号 image.png

不要在子组件内修改父组件的数据

image.png

报错的原因是因为data写错了位置 image.png