fix: table customRow events not work #3121
parent
196d2dc8a5
commit
8ba8983353
|
@ -1 +1 @@
|
|||
Subproject commit 171eade4fef1877d8c6c458fae1858319a19a05c
|
||||
Subproject commit bef135d01e96fadf80f7a09c7cd26b18aa6d71d8
|
|
@ -248,19 +248,19 @@ const TableRow = {
|
|||
...rowProps,
|
||||
style,
|
||||
onClick: e => {
|
||||
this.onRowClick(e, rowProps.click);
|
||||
this.onRowClick(e, rowProps.onClick);
|
||||
},
|
||||
onDblclick: e => {
|
||||
this.onRowDoubleClick(e, rowProps.dblclick);
|
||||
this.onRowDoubleClick(e, rowProps.onDblclick);
|
||||
},
|
||||
onMouseenter: e => {
|
||||
this.onMouseEnter(e, rowProps.mouseenter);
|
||||
this.onMouseEnter(e, rowProps.onMouseenter);
|
||||
},
|
||||
onMouseleave: e => {
|
||||
this.onMouseLeave(e, rowProps.mouseleave);
|
||||
this.onMouseLeave(e, rowProps.onMouseleave);
|
||||
},
|
||||
onContextmenu: e => {
|
||||
this.onContextMenu(e, rowProps.contextmenu);
|
||||
this.onContextMenu(e, rowProps.onContextmenu);
|
||||
},
|
||||
class: rowClassName,
|
||||
'data-row-key': rowKey,
|
||||
|
|
Loading…
Reference in New Issue