fix:嵌套表格场景,展开行时,表行右侧断开

This commit is contained in:
yangchch6 2019-07-27 14:10:02 +08:00
parent 95fa534d17
commit 64deebbeeb
6 changed files with 11 additions and 8 deletions

View File

@ -706,7 +706,8 @@ var Table = function (_Component) {
} else if (fixed === 'right') {
colCount = this.columnManager.rightLeafColumns().length;
} else {
colCount = this.columnManager.leafColumns().length;
// colCount = this.columnManager.leafColumns().length;
colCount = this.columnManager.centerColumns().length; //计算非固定列的个数fix: 嵌套表格场景,右侧列断开的问题
}
function contentContainer() {

File diff suppressed because one or more lines are too long

7
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "bee-table",
"version": "2.1.8",
"version": "2.1.9-beta.1",
"description": "Table ui component for react",
"keywords": [
"react",

View File

@ -522,7 +522,8 @@ class Table extends Component {
} else if (fixed === 'right') {
colCount = this.columnManager.rightLeafColumns().length;
} else {
colCount = this.columnManager.leafColumns().length;
// colCount = this.columnManager.leafColumns().length;
colCount = this.columnManager.centerColumns().length; //计算非固定列的个数fix: 嵌套表格场景,右侧列断开的问题
}
function contentContainer() {