fix: 参照场景中表格首次渲染最后一列没有撑开bug
This commit is contained in:
parent
d09b156205
commit
c705539bfe
|
@ -95,7 +95,7 @@ class Table extends Component {
|
||||||
let rows = [...props.data];
|
let rows = [...props.data];
|
||||||
this.columnManager = new ColumnManager(props.columns, props.children, props.originWidth);
|
this.columnManager = new ColumnManager(props.columns, props.children, props.originWidth);
|
||||||
this.store = createStore({ currentHoverKey: null });
|
this.store = createStore({ currentHoverKey: null });
|
||||||
|
this.firstDid = true;
|
||||||
if (props.defaultExpandAllRows) {
|
if (props.defaultExpandAllRows) {
|
||||||
for (let i = 0; i < rows.length; i++) {
|
for (let i = 0; i < rows.length; i++) {
|
||||||
const row = rows[i];
|
const row = rows[i];
|
||||||
|
|
Loading…
Reference in New Issue