feat(表格添加纵向滚动条时,scroll设置修改):
This commit is contained in:
parent
12b37e145d
commit
ea3e0ad872
|
@ -732,11 +732,11 @@ var Table = function (_Component) {
|
|||
if (fixed) {
|
||||
// bodyStyle.height = bodyStyle.height || scroll.y;
|
||||
innerBodyStyle.maxHeight = bodyStyle.maxHeight || scroll.y;
|
||||
innerBodyStyle.overflowY = bodyStyle.overflowY || 'auto';
|
||||
innerBodyStyle.overflowY = bodyStyle.overflowY || 'scroll';
|
||||
} else {
|
||||
bodyStyle.maxHeight = bodyStyle.maxHeight || scroll.y;
|
||||
}
|
||||
bodyStyle.overflowY = bodyStyle.overflowY || 'auto';
|
||||
bodyStyle.overflowY = bodyStyle.overflowY || 'scroll';
|
||||
useFixedHeader = true;
|
||||
|
||||
// Add negative margin bottom for scroll bar overflow bug
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bee-table",
|
||||
"version": "1.4.33",
|
||||
"version": "1.4.34",
|
||||
"description": "Table ui component for react",
|
||||
"keywords": [
|
||||
"react",
|
||||
|
|
Loading…
Reference in New Issue