Merge pull request #436 from 1Panel-dev/pr@main@fix-bug

fix: 文档问题列表多选框点击范围优(#424)
This commit is contained in:
wangdan-fit2cloud 2024-05-13 16:53:17 +08:00 committed by GitHub
commit dbcd8cf390
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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