fix: update loadSharedApi type from 'knowledge' to 'document'
--bug=1057666 --user=刘瑞斌 【知识库】生成关联问题报错 https://www.tapd.cn/62980211/s/1720016
This commit is contained in:
parent
cc692ffbe1
commit
64efc05c41
@ -165,7 +165,7 @@ const submitHandle = async (formEl: FormInstance) => {
|
|||||||
document_id_list: idList.value,
|
document_id_list: idList.value,
|
||||||
state_list: stateMap[state.value],
|
state_list: stateMap[state.value],
|
||||||
}
|
}
|
||||||
loadSharedApi({ type: 'knowledge', systemType: props.apiType })
|
loadSharedApi({ type: 'document', systemType: props.apiType })
|
||||||
.putBatchGenerateRelated(id, data, loading)
|
.putBatchGenerateRelated(id, data, loading)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
MsgSuccess(t('views.document.generateQuestion.successMessage'))
|
MsgSuccess(t('views.document.generateQuestion.successMessage'))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user