fix: 文档问题列表多选框点击范围优(#424)

This commit is contained in:
wangdan-fit2cloud 2024-05-13 16:41:55 +08:00
parent 73edc28a61
commit 270aca46b1
3 changed files with 13 additions and 3 deletions

View File

@ -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}` })
}

View File

@ -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()

View File

@ -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