diff --git a/src/pages/TableList/index.tsx b/src/pages/TableList/index.tsx index fa5063c3..7a5d0caa 100644 --- a/src/pages/TableList/index.tsx +++ b/src/pages/TableList/index.tsx @@ -355,7 +355,9 @@ const TableList: React.FC = () => { }} onCancel={() => { handleUpdateModalVisible(false); - setCurrentRow(undefined); + if (!showDetail) { + setCurrentRow(undefined); + } }} updateModalVisible={updateModalVisible} values={currentRow || {}}