diff --git a/chat-client/src/api/Segment.ts b/chat-client/src/api/Segment.ts index 1eb1fa2..be0ec6c 100644 --- a/chat-client/src/api/Segment.ts +++ b/chat-client/src/api/Segment.ts @@ -1,6 +1,6 @@ import request from '@/utils/request' -export function getSegmentList(params: { datasetId: string; documentId: string }) { +export function getSegmentList(params: { datasetId: string; documentId: string; page: number; pageSize: number }) { return request({ url: '/brichat-service/documentSegment/selectSegments', method: 'get', diff --git a/chat-client/src/views/datasets/components/DocumentList.vue b/chat-client/src/views/datasets/components/DocumentList.vue index d4341dc..84d909a 100644 --- a/chat-client/src/views/datasets/components/DocumentList.vue +++ b/chat-client/src/views/datasets/components/DocumentList.vue @@ -88,7 +88,6 @@ :header-row-style="{ height: '50px' }" @selection-change="handleSelectionChange" @row-dblclick="handleRowDoubleClick" - @sort-change="handleSortChange" > - + - - + + - +