Update array of objects using push method in Angular

后端 未结 0 1806
抹茶落季
抹茶落季 2020-12-28 21:35
studentsOld: any[] = [
   { id: 1, name : \'test\', age: 20 }, 
   { id: 2, name : \'sample\', age: 21 }
 ];

 studentsNew: any=[];

tmp=0;selcatage;
funedit(post){
         


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