Browse Source

fix: drawer not setCurrentRow null

pull/8812/head
chenshuai2144 5 years ago
parent
commit
75161358a5
  1. 4
      src/pages/TableList/index.tsx

4
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 || {}}

Loading…
Cancel
Save