From 7a27bc5ed62b7b4a52b8b3fcf2ee1063ae62b2d4 Mon Sep 17 00:00:00 2001 From: liushaozhen <804199994@qq.com> Date: Tue, 11 Feb 2020 19:14:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(bee-table):=20bugfix=20=E8=AE=BE=E7=BD=AEex?= =?UTF-8?q?pandRowByClick=EF=BC=8C=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=AE=AD=E5=A4=B4=EF=BC=8C=E5=8E=BB=E6=8E=89=20expandRowByClic?= =?UTF-8?q?k=20=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/TableRow.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build/TableRow.js b/build/TableRow.js index d2a0cdf..666a77c 100644 --- a/build/TableRow.js +++ b/build/TableRow.js @@ -622,7 +622,8 @@ var TableRow = function (_Component) { 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"], { clsPrefix: clsPrefix, record: record, diff --git a/package.json b/package.json index 78b52c4..cfea620 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "2.2.34", + "version": "2.2.35", "description": "Table ui component for react", "keywords": [ "react",