This commit is contained in:
yangchch6 2019-04-25 16:11:51 +08:00
commit 0d4bdeb4ec
8 changed files with 13 additions and 18 deletions

View File

@ -680,7 +680,7 @@ var Table = function (_Component) {
expandable: false,
store: this.store,
dragborderKey: this.props.dragborderKey,
rowDraggAble: props.rowDraggAble,
rowDraggAble: this.props.rowDraggAble,
onDragRow: this.onDragRow
});
};
@ -818,7 +818,7 @@ var Table = function (_Component) {
rootIndex: rootIndex,
syncHover: props.syncHover,
bodyDisplayInRow: props.bodyDisplayInRow,
rowDraggAble: props.rowDraggAble,
rowDraggAble: this.props.rowDraggAble,
onDragRow: this.onDragRow,
contentTable: this.contentTable
})));

View File

@ -708,7 +708,7 @@ var TableHeader = function (_Component) {
var _rowLeng = row.length - 1;
return _react2["default"].createElement(
"tr",
{ key: index, style: rowStyle, aaaa: true, className: filterable && index == rows.length - 1 ? 'filterable' : '' },
{ key: index, style: rowStyle, className: filterable && index == rows.length - 1 ? 'filterable' : '' },
row.map(function (da, columIndex, arr) {
var thHover = da.drgHover ? " " + clsPrefix + "-thead th-drag-hover" : "";
delete da.drgHover;

File diff suppressed because one or more lines are too long

13
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

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

View File

@ -525,7 +525,7 @@ class Table extends Component {
expandable={false}
store={this.store}
dragborderKey={this.props.dragborderKey}
rowDraggAble={props.rowDraggAble}
rowDraggAble={this.props.rowDraggAble}
onDragRow={this.onDragRow}
/>
);
@ -677,7 +677,7 @@ class Table extends Component {
rootIndex = {rootIndex}
syncHover = {props.syncHover}
bodyDisplayInRow = {props.bodyDisplayInRow}
rowDraggAble={props.rowDraggAble}
rowDraggAble={this.props.rowDraggAble}
onDragRow={this.onDragRow}
contentTable={this.contentTable}
/>

View File

@ -632,7 +632,7 @@ class TableHeader extends Component {
<thead className={`${clsPrefix}-thead`} {...attr} data-theader-fixed='scroll' ref={_thead=>this._thead = _thead} >
{rows.map((row, index) => {
let _rowLeng = (row.length-1);
return(<tr key={index} style={rowStyle} aaaa className={(filterable && index == rows.length - 1)?'filterable':''}>
return(<tr key={index} style={rowStyle} className={(filterable && index == rows.length - 1)?'filterable':''}>
{row.map((da, columIndex, arr) => {
let thHover = da.drgHover
? ` ${clsPrefix}-thead th-drag-hover`