Answer the question
In order to leave comments, you need to log in
How to group data in Vue?
Hi everybody.
There is such a problem, I can not think in any way how to do it right.
json comes from the back
"serv": [
{
"id": 4,
"name": "serv",
"perfomance": 120,
"production": 0,
"production_doc": null,
"laboratory": 0,
"laboratory_doc": null,
"scale": 0,
},
{
"id": 5,
"name": "serv",
"perfomance": 120,
"production": 0,
"production_doc": null,
"laboratory": 0,
"laboratory_doc": null,
"scale": 0,
},
{
"id": 6,
"name": "serv",
"perfomance": 120,
"production": 0,
"production_doc": null,
"laboratory": 0,
"laboratory_doc": null,
"scale": 0,
},
],
"serv555": [
{
"id": 10,
"name": "serv555",
"rating": null,
"checked": 0,
"vip": 0,
"perfomance": 120,
"production": 0,
"production_doc": null,
"laboratory": 0,
"laboratory_doc": null,
"scale": 0,
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question