Skip to content

Commit 64efc05

Browse files
committed
fix: update loadSharedApi type from 'knowledge' to 'document'
--bug=1057666 --user=ๅˆ˜็‘žๆ–Œ ใ€็Ÿฅ่ฏ†ๅบ“ใ€‘็”Ÿๆˆๅ…ณ่”้—ฎ้ข˜ๆŠฅ้”™ https://www.tapd.cn/62980211/s/1720016
1 parent cc692ff commit 64efc05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

โ€Žui/src/components/generate-related-dialog/index.vueโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const submitHandle = async (formEl: FormInstance) => {
165165
document_id_list: idList.value,
166166
state_list: stateMap[state.value],
167167
}
168-
loadSharedApi({ type: 'knowledge', systemType: props.apiType })
168+
loadSharedApi({ type: 'document', systemType: props.apiType })
169169
.putBatchGenerateRelated(id, data, loading)
170170
.then(() => {
171171
MsgSuccess(t('views.document.generateQuestion.successMessage'))

0 commit comments

Comments
ย (0)