Pushing an object into an array in TypeScript

前端 未结 0 710
南方客
南方客 2020-12-29 17:57

In my Angular app, I push objects to an array like this:

castPictures: any = []

this.castPictures.push({ actor: actor, url: actPics})  

My p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题