abc(){
var groupOrderData={};
this.arr.forEach((v) =>
{
!groupOrderData[v.name] && (groupOrderData[v.name] = []);
groupOrderData[v.name].push(v);
});
console.log(groupOrderData)
this.arrarr=groupOrderData;
}
abc(){
var groupOrderData={};
this.arr.forEach((v) =>
{
!groupOrderData[v.name] && (groupOrderData[v.name] = []);
groupOrderData[v.name].push(v);
});
console.log(groupOrderData)
this.arrarr=groupOrderData;
}