vue.min.js:6 TypeError: Cannot read property 'forEach' of null

vue.min.js:6 TypeError: Cannot read property 'length' of undefined

 

data: function () {
  return {
    list: null, //list:[] 改为数组就不报错了。

 }

}

 

相关文章:

  • 2022-12-23
  • 2021-08-23
  • 2021-12-27
  • 2022-03-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2022-12-23
猜你喜欢
  • 2021-10-17
  • 2022-12-23
  • 2023-03-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案