Skip to content

Commit 7aad3ea

Browse files
committed
fix: task list table checked
1 parent 2ec4a60 commit 7aad3ea

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.env.development

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# VITE_BASE_URL = "http://192.168.3.3:8082/"
22

3-
VITE_BASE_URL = "http://192.168.3.100:8082/"
4-
5-
# VITE_BASE_URL = "http://192.168.3.179:8082/"
3+
VITE_BASE_URL = "http://192.168.3.179:8082/"
64

75
# VITE_BASE_URL = "http://legion-4g.yaklang.com:8080/pre/"

src/pages/TaskPageList/compoment/Columns.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,16 @@ const CommonTasksColumns = (
7272
rowSelection: 'checkbox',
7373
rowSelectKeys: deleteValues,
7474
onSelectChange: setDeleteValues,
75-
onCell: (record) => ({
76-
onClick: () => {
77-
handGoDetail(record);
78-
},
79-
}),
75+
// onCell: (record) => ({
76+
// onClick: () => {
77+
// handGoDetail(record);
78+
// },
79+
// }),
8080
width: 480,
8181
render: (_, record) => (
8282
<div
83-
className="p-0 text-clip color-[#4A94F8] cursor-pointer"
83+
className="p-0 text-clip color-[#4A94F8] cursor-pointer w-full "
84+
style={{ display: 'block' }}
8485
onClick={() => handGoDetail(record)}
8586
>
8687
{record.task_id}

0 commit comments

Comments
 (0)