diff --git a/components/apolloTable/component/Cell.tsx b/components/apolloTable/component/Cell.tsx index 8c756deed9349e3509caefabca348517890dcd26..606e58ce27ef0463dc37690f74c277a893ed19aa 100644 --- a/components/apolloTable/component/Cell.tsx +++ b/components/apolloTable/component/Cell.tsx @@ -250,7 +250,11 @@ const Cell = (props: CellProps) => { {showExpand && columnIndex === 0 && (
{ + e.stopPropagation(); + e.nativeEvent.stopImmediatePropagation(); + showExpand({ rowId: record.id }); + }} className={s.expandIcon} alt="" src={expandIcon} @@ -269,7 +273,7 @@ const Cell = (props: CellProps) => { componentAttr={transferColumn} formatter={detailConfig.getFormatter} cellRenderProps={cellRenderProps} - changeEdit={()=>{ + changeEdit={() => { setStatus('edit'); }} />