Merge pull request #436 from 1Panel-dev/pr@main@fix-bug
fix: 文档问题列表多选框点击范围优(#424)
This commit is contained in:
commit
dbcd8cf390
@ -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