Commit fe0c58fa authored by zhangwenshuai's avatar zhangwenshuai

update

parent d08140b5
...@@ -248,13 +248,15 @@ const Cell = (props: CellProps) => { ...@@ -248,13 +248,15 @@ const Cell = (props: CellProps) => {
</div> </div>
)} )}
{showExpand && columnIndex === 0 && ( {showExpand && columnIndex === 0 && (
<div className={s.expand}> <div
className={s.expand}
onClick={(e:any) => {
e.stopPropagation();
e.nativeEvent.stopImmediatePropagation();
}}
>
<img <img
onClick={(e: any) => { onClick={showExpand.bind(null, { rowId: record.id })}
e.stopPropagation();
e.nativeEvent.stopImmediatePropagation();
showExpand({ rowId: record.id });
}}
className={s.expandIcon} className={s.expandIcon}
alt="" alt=""
src={expandIcon} src={expandIcon}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment