diff --git a/ui/src/views/document/index.vue b/ui/src/views/document/index.vue index 402d8bdf5..21e257599 100644 --- a/ui/src/views/document/index.vue +++ b/ui/src/views/document/index.vue @@ -371,7 +371,11 @@ function refreshDocument(row: any) { } } -function rowClickHandle(row: any) { +function rowClickHandle(row: any, column: any) { + if (column && column.type === 'selection') { + return + } + router.push({ path: `/dataset/${id}/${row.id}` }) } diff --git a/ui/src/views/log/index.vue b/ui/src/views/log/index.vue index ea4b44586..63c2c9353 100644 --- a/ui/src/views/log/index.vue +++ b/ui/src/views/log/index.vue @@ -264,7 +264,10 @@ const preChatRecord = () => { } } -function rowClickHandle(row: any) { +function rowClickHandle(row: any, column?: any) { + if (column && column.type === 'selection') { + return + } currentChatId.value = row.id currentAbstract.value = row.abstract ChatRecordRef.value.open() diff --git a/ui/src/views/problem/index.vue b/ui/src/views/problem/index.vue index a7a7ea348..d3223bc99 100644 --- a/ui/src/views/problem/index.vue +++ b/ui/src/views/problem/index.vue @@ -296,7 +296,10 @@ const preChatRecord = () => { } } -function rowClickHandle(row: any) { +function rowClickHandle(row: any, column?: any) { + if (column && column.type === 'selection') { + return + } if (row.paragraph_count) { currentClickId.value = row.id currentContent.value = row.content