bugfix 设置expandRowByClick,无法显示箭头,去掉 expandRowByClick 判断

This commit is contained in:
liushaozhen 2020-02-11 16:57:57 +08:00
parent 8ba7a7b552
commit 4ec97d962d
3 changed files with 10365 additions and 48047 deletions

57891
dist/demo.js vendored

File diff suppressed because it is too large Load Diff

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -499,7 +499,8 @@ class TableRow extends Component{
</td>
);
}
const isColumnHaveExpandIcon = (expandIconAsCell || expandRowByClick || showSum)
// bugfix 设置expandRowByClick无法显示箭头去掉 expandRowByClick 判断
const isColumnHaveExpandIcon = (expandIconAsCell || showSum)
? false : (i === expandIndexInThisTable);
cells.push(
<TableCell