fix: corrige formato de colunas UTable para Nuxt UI v3 (TanStack Table)
Substitui o formato de colunas { key, label } (Nuxt UI v2) pelo formato
correto { id, accessorKey, header } exigido pelo TanStack Table no Nuxt UI v3.
Afetou 7 arquivos: EditaisTable, index, orgaos, concorrentes, contratos,
inteligencia/index e sistema/usuarios.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -56,10 +56,10 @@ const fmt = (v: number) => new Intl.NumberFormat('pt-BR', { style: 'currency', c
|
||||
<UTable
|
||||
:data="concorrentesFrequentes"
|
||||
:columns="[
|
||||
{ key: 'nome', label: 'Empresa' },
|
||||
{ key: 'cnpj', label: 'CNPJ' },
|
||||
{ key: 'totalDisputas', label: 'Disputas' },
|
||||
{ key: 'totalVitorias', label: 'Vitórias' },
|
||||
{ id: 'nome', accessorKey: 'nome', header: 'Empresa' },
|
||||
{ id: 'cnpj', accessorKey: 'cnpj', header: 'CNPJ' },
|
||||
{ id: 'totalDisputas', accessorKey: 'totalDisputas', header: 'Disputas' },
|
||||
{ id: 'totalVitorias', accessorKey: 'totalVitorias', header: 'Vitórias' },
|
||||
]"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user