fix:嵌套表格场景,展开行时,表行右侧断开
This commit is contained in:
parent
95fa534d17
commit
64deebbeeb
|
@ -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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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",
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue