fix(表头下的滚动条兼容scroll={x:'130%'}清空):

This commit is contained in:
wanghaoo 2018-11-19 23:36:32 +08:00
parent 479401e84a
commit fa9b189742
2 changed files with 2 additions and 1 deletions

View File

@ -293,6 +293,7 @@ var Table = function (_Component) {
this.domWidthDiff = this.contentDomWidth - this.computeWidth;
if (typeof setWidthParam == 'string' && setWidthParam.indexOf('%')) {
this.contentWidth = this.contentWidth * parseInt(setWidthParam) / 100;
this.domWidthDiff = this.contentDomWidth - this.contentWidth;
}
}

View File

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