Commit f5c8cc29 authored by 卢均锐's avatar 卢均锐

fix: 业务对账修复选择子项报错

parent 4cecd1dd
......@@ -322,7 +322,7 @@ const DetailDrawer: React.FC<DetailDrawerProps> = (props: DetailDrawerProps) =>
setSelectedRowKeys(patentArr);
};
const childRenderTable = useCallback((record) => {
const childRenderTable = (record) => {
return (
<Table
columns={childColumns}
......@@ -337,7 +337,7 @@ const DetailDrawer: React.FC<DetailDrawerProps> = (props: DetailDrawerProps) =>
pagination={false}
/>
)
}, [childSelectedRowKeys])
}
const _onOk = () => {
const _rows = [];
......@@ -355,7 +355,7 @@ const DetailDrawer: React.FC<DetailDrawerProps> = (props: DetailDrawerProps) =>
useEffect(() => {
if (visible) {
ref?.current?.reload();
}else{
} else {
setChildSelectedRowKeys([]);
setSelectedRowKeys([]);
setChildSelectedRows([]);
......
......@@ -322,7 +322,7 @@ const ReadyReconciliation: React.FC = () => {
setSelectedRowKeys(patentArr);
};
const childRenderTable = useCallback((record) => {
const childRenderTable = (record) => {
return (
<Table
columns={childColumns}
......@@ -337,7 +337,7 @@ const ReadyReconciliation: React.FC = () => {
pagination={false}
/>
)
}, [childSelectedRowKeys])
}
const _generate = () => {
if (selectedRowKeys.length <= 0) {
......
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