7 Answers · Create a class that represent your data model export class Data{ private id:number; private text: string; constructor(id,text) { this ... ... <看更多>
Passing an empty array to an input property should create a new array, and not a reference to ... This was fixed in Angular v9 running ivy: ... ... <看更多>