forEach(y => {; obj.push(new FormControl(y));; });; //and push in the formArray; this.formArray.push(obj);; });. 或使用類似地圖的縮寫.
確定! 回上一頁