fix(表头下的滚动条兼容scroll={x:'130%'}清空):
This commit is contained in:
parent
479401e84a
commit
fa9b189742
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bee-table",
|
||||
"version": "1.5.3",
|
||||
"version": "1.5.4",
|
||||
"description": "Table ui component for react",
|
||||
"keywords": [
|
||||
"react",
|
||||
|
|
Loading…
Reference in New Issue