Closed sunmingtao closed 3 years ago
Turns out the table data must have an id
field in order for child row feature to work.
So change teams
to
teams: [
{id: 100, name: 'Man city', totalProfit: '200', ....},
{id: 200, name: 'Man united', totalProfit: '-100', ....},
]
Clicking any row will see all the rows expanded.
Vue