feat:
This commit is contained in:
parent
cd9eb1e09c
commit
f373e544e9
|
@ -278,7 +278,7 @@ var Table = function (_Component) {
|
||||||
this.setState({ contentWidthDiff: contentWidthDiff, lastShowIndex: lastShowIndex });
|
this.setState({ contentWidthDiff: contentWidthDiff, lastShowIndex: lastShowIndex });
|
||||||
} else {
|
} else {
|
||||||
this.contentWidth = this.computeWidth;
|
this.contentWidth = this.computeWidth;
|
||||||
this.setState({ contentWidth: this.contentWidth }); //重新渲染,为了显示滚动条
|
this.setState({ contentWidthDiff: 0, lastShowIndex: lastShowIndex }); //重新渲染,为了显示滚动条
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bee-table",
|
"name": "bee-table",
|
||||||
"version": "1.4.8",
|
"version": "1.4.9",
|
||||||
"description": "Table ui component for react",
|
"description": "Table ui component for react",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"react",
|
"react",
|
||||||
|
|
Loading…
Reference in New Issue