ustbhuangyi / vue-sell

:rice: Vue.js高仿饿了么外卖App课程源码 http://coding.imooc.com/class/74.html
3.46k stars 1.36k forks source link

this.goods.forEach is not a function #55

Open LiangTianFu opened 6 years ago

LiangTianFu commented 6 years ago

1 2 default 3

pushaotao commented 6 years ago

不能用this.foods ,直接foods

nothoutonly commented 6 years ago

看一下你data里面定义的goods是不是空对象

gaoxueding commented 5 years ago

妈的,,我也遇到了,this.goods.forEach is nof function,请问楼主解决没