mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
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