From f7c12c417077767cde5b19b97c20b72f034e5375 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 27 Feb 2024 14:31:23 +0800 Subject: [PATCH] up --- src/pages/Employee/index.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pages/Employee/index.tsx b/src/pages/Employee/index.tsx index dcbdaee..11987db 100644 --- a/src/pages/Employee/index.tsx +++ b/src/pages/Employee/index.tsx @@ -438,6 +438,14 @@ const UserList: React.FC<{}> = () => { scroll={{ y: 'calc(100vh - 500px)' }} + onRow={(record) => { + return { + onClick: (event) => { + handleUpdateModalVisible(true); + setCurrentRow(record); + }, // 点击行 + } + }} pagination={{ defaultPageSize: 10, showSizeChanger: true,