From 6225f0e5cbd54cc6fce295a51f0ec0d691e7be26 Mon Sep 17 00:00:00 2001 From: Allen Date: Sun, 12 Aug 2018 13:32:12 +0800 Subject: [PATCH] fix #471 (#481) --- packages/react-bootstrap-table2/src/row.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-bootstrap-table2/src/row.js b/packages/react-bootstrap-table2/src/row.js index 84a3ea4..e3254b5 100644 --- a/packages/react-bootstrap-table2/src/row.js +++ b/packages/react-bootstrap-table2/src/row.js @@ -120,7 +120,7 @@ class Row extends eventDelegater(Component) { cellStyle = _.isFunction(column.style) ? column.style(content, row, rowIndex, index) : column.style; - cellStyle = cellStyle || {}; + cellStyle = Object.assign({}, cellStyle) || {}; }