fix: 文档问题列表多选框点击范围优(#424)
This commit is contained in:
parent
73edc28a61
commit
270aca46b1
@ -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}` })
|
||||
}
|
||||
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user