From 4c979b5e653000dc29ae814b531ae6633a2314f3 Mon Sep 17 00:00:00 2001 From: jonyshi Date: Thu, 24 Jan 2019 19:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=20=E6=8F=90=E4=BE=9B=E4=B8=A4=E4=B8=AAId?= =?UTF-8?q?=E5=85=B1=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/demolist/Demo23.js | 2 +- src/Table.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/demolist/Demo23.js b/demo/demolist/Demo23.js index 2086efb..f64aa57 100644 --- a/demo/demolist/Demo23.js +++ b/demo/demolist/Demo23.js @@ -62,7 +62,7 @@ class Demo23 extends Component { draggable={true} onDropBorder ={(e)=>{ - console.log("调整列宽后触发事件"); + console.log("调整列宽后触发事件",e.target); }} />; } diff --git a/src/Table.js b/src/Table.js index 3d4991f..09776e7 100644 --- a/src/Table.js +++ b/src/Table.js @@ -692,7 +692,7 @@ class Table extends Component { } return ; })); - return {cols}; + return {cols}; } renderDragHideTable = () => { @@ -815,7 +815,7 @@ class Table extends Component { ) : null; let _drag_class = this.props.dragborder ? "table-drag-bordered" : "" return ( - +
{/* {this.props.dragborder?null:this.getColGroup(columns, fixed)} */} {this.getColGroup(columns, fixed)} {hasHead ? this.getHeader(columns, fixed) : null}