fix(Table.js): 参照场景中第一次加载表格不撑满问题

This commit is contained in:
izbz wh 2019-03-14 10:20:13 +08:00
parent 7ffd71a345
commit a9530a422c
5 changed files with 171 additions and 171 deletions

View File

@ -207,7 +207,7 @@ var Table = function (_Component) {
var rows = [].concat(_toConsumableArray(props.data));
_this.columnManager = new _ColumnManager2["default"](props.columns, props.children, props.originWidth);
_this.store = (0, _createStore2["default"])({ currentHoverKey: null });
_this.firstDid = true;
if (props.defaultExpandAllRows) {
for (var i = 0; i < rows.length; i++) {
var row = rows[i];

View File

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