fix: 参照场景中表格首次渲染最后一列没有撑开bug

This commit is contained in:
izbz wh 2019-03-13 22:48:51 +08:00
parent d09b156205
commit c705539bfe
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class Table extends Component {
let rows = [...props.data];
this.columnManager = new ColumnManager(props.columns, props.children, props.originWidth);
this.store = createStore({ currentHoverKey: null });
this.firstDid = true;
if (props.defaultExpandAllRows) {
for (let i = 0; i < rows.length; i++) {
const row = rows[i];