老板们,谁遇到过error in mounted hook:"typeError:cannot read property 'psuh' of undefind"这个错误

我把父组件的数组传给子组件,子组件可以接收的到,

this.fatherArr.forEach((item) => {
  this.childArr.psuh({value:item.id,label:item.id})
})

然后我想把父组件传过来的内容写成对象格式加到childArr里,为什么报这个错误error in mounted hook:"typeError:cannot read property 'psuh' of undefind'',希望老板们帮帮忙,谢谢

数组添加方法是push不是psuh

意思this.childArr 不是数组