fix(bee-table): bugfix 设置expandRowByClick,无法显示箭头,去掉 expandRowByClick 判断

This commit is contained in:
liushaozhen 2020-02-11 19:14:12 +08:00
parent 4ec97d962d
commit 7a27bc5ed6
2 changed files with 3 additions and 2 deletions

View File

@ -622,7 +622,8 @@ var TableRow = function (_Component) {
expandIcon expandIcon
)); ));
} }
var isColumnHaveExpandIcon = expandIconAsCell || expandRowByClick || showSum ? false : i === expandIndexInThisTable; // bugfix 设置expandRowByClick无法显示箭头去掉 expandRowByClick 判断
var isColumnHaveExpandIcon = expandIconAsCell || showSum ? false : i === expandIndexInThisTable;
cells.push(_react2["default"].createElement(_TableCell2["default"], { cells.push(_react2["default"].createElement(_TableCell2["default"], {
clsPrefix: clsPrefix, clsPrefix: clsPrefix,
record: record, record: record,

View File

@ -1,6 +1,6 @@
{ {
"name": "bee-table", "name": "bee-table",
"version": "2.2.34", "version": "2.2.35",
"description": "Table ui component for react", "description": "Table ui component for react",
"keywords": [ "keywords": [
"react", "react",