Commit 5e1f1627 by zhaochengxiang

bug fix

parent 8af46db1
......@@ -109,7 +109,7 @@ function FC<RowType extends object = any>({ width, maxHeight, pageSize, pageNum,
setTableWidth(size?.width)
}}
>
<Table<RowType>
<Table
ref={ref}
className="ssetable"
size='middle'
......@@ -131,7 +131,7 @@ function FC<RowType extends object = any>({ width, maxHeight, pageSize, pageNum,
}}
onRow={(record, index) => {
return {
id: record.id,
id: record?.id,
onClick: event => {
onRowClick?.(event, record)
},
......
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