Use col.field instead of array index as v-for key on Column components
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
tableClass="text-sm"
|
||||
breakpoint="0"
|
||||
>
|
||||
<div v-for="(col, index) in columnData" :key="index">
|
||||
<div v-for="col in columnData" :key="col.field">
|
||||
<Column :field="col.field" :header="col.header">
|
||||
<template #body="{ data }">
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user