This commit is contained in:
wanghaoo 2018-09-30 16:05:40 +08:00
parent cd9eb1e09c
commit f373e544e9
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ var Table = function (_Component) {
this.setState({ contentWidthDiff: contentWidthDiff, lastShowIndex: lastShowIndex });
} else {
this.contentWidth = this.computeWidth;
this.setState({ contentWidth: this.contentWidth }); //重新渲染,为了显示滚动条
this.setState({ contentWidthDiff: 0, lastShowIndex: lastShowIndex }); //重新渲染,为了显示滚动条
}
};

View File

@ -1,6 +1,6 @@
{
"name": "bee-table",
"version": "1.4.8",
"version": "1.4.9",
"description": "Table ui component for react",
"keywords": [
"react",