This commit is contained in:
jonyshi 2019-04-25 15:44:18 +08:00
parent f0a4d4101d
commit 2b51d77b60
6 changed files with 10 additions and 10 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;

6
dist/demo.js vendored
View File

@ -42450,7 +42450,7 @@
expandable: false,
store: this.store,
dragborderKey: this.props.dragborderKey,
rowDraggAble: props.rowDraggAble,
rowDraggAble: this.props.rowDraggAble,
onDragRow: this.onDragRow
});
};
@ -42588,7 +42588,7 @@
rootIndex: rootIndex,
syncHover: props.syncHover,
bodyDisplayInRow: props.bodyDisplayInRow,
rowDraggAble: props.rowDraggAble,
rowDraggAble: this.props.rowDraggAble,
onDragRow: this.onDragRow,
contentTable: this.contentTable
})));
@ -45738,7 +45738,7 @@
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;

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

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`