diff --git a/frontend/src/pages/DataAnnotation/Home/DataAnnotation.tsx b/frontend/src/pages/DataAnnotation/Home/DataAnnotation.tsx index 0749986..778c7a1 100644 --- a/frontend/src/pages/DataAnnotation/Home/DataAnnotation.tsx +++ b/frontend/src/pages/DataAnnotation/Home/DataAnnotation.tsx @@ -155,17 +155,23 @@ export default function DataAnnotation() { ]; const columns: ColumnType[] = [ + { + title: "序号", + key: "index", + width: 80, + align: "center" as const, + render: (_value: unknown, _record: AnnotationTaskListItem, index: number) => { + const current = pagination.current ?? 1; + const pageSize = pagination.pageSize ?? tableData.length ?? 0; + return (current - 1) * pageSize + index + 1; + }, + }, { title: "任务名称", dataIndex: "name", key: "name", fixed: "left" as const, }, - { - title: "任务ID", - dataIndex: "id", - key: "id", - }, { title: "数据集", dataIndex: "datasetName",