diff --git a/packages/zent/src/grid/Row.tsx b/packages/zent/src/grid/Row.tsx index 46b30fc1b..48d952581 100644 --- a/packages/zent/src/grid/Row.tsx +++ b/packages/zent/src/grid/Row.tsx @@ -73,6 +73,7 @@ class Row extends PureComponent> { column: columnIndex, fixed, }; + const columnKey = column.name || columnIndex; cells.push( extends PureComponent> { data={data} pos={pos} columnIndex={columnIndex} - key={columnIndex} + key={columnKey} prefix={prefix} /> );