Skip to content

Commit 39a0f86

Browse files
committed
fix: update document export functions to use knowledge detail name
--bug=1065799@tapd-62980211 --user=刘瑞斌 【知识库】文档列表批量导出文档,文件名应该是知识库名称 https://www.tapd.cn/62980211/s/1837017
1 parent b2f22db commit 39a0f86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/src/views/document/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ function exportMulDocument() {
11461146
}
11471147
})
11481148
loadSharedApi({ type: 'document', systemType: apiType.value })
1149-
.exportMulDocument('documents', id, arr, loading)
1149+
.exportMulDocument(knowledgeDetail.value.name, id, arr, loading)
11501150
.then(() => {
11511151
MsgSuccess(t('common.exportSuccess'))
11521152
})
@@ -1160,7 +1160,7 @@ function exportMulDocumentZip() {
11601160
}
11611161
})
11621162
loadSharedApi({ type: 'document', systemType: apiType.value })
1163-
.exportMulDocumentZip('documents', id, arr, loading)
1163+
.exportMulDocumentZip(knowledgeDetail.value.name, id, arr, loading)
11641164
.then(() => {
11651165
MsgSuccess(t('common.exportSuccess'))
11661166
})

0 commit comments

Comments
 (0)