feat: 支持工作流知识库多库检索
This commit is contained in:
@@ -60,8 +60,13 @@ async function getRunningParams() {
|
||||
function onSubmit() {
|
||||
initState.value = !initState.value;
|
||||
}
|
||||
function resumeChain(data: any) {
|
||||
workflowForm.value?.resume(data);
|
||||
async function resumeChain(data: any, onSettled: (accepted: boolean) => void) {
|
||||
try {
|
||||
const accepted = await workflowForm.value?.resume(data);
|
||||
onSettled(accepted === true);
|
||||
} catch {
|
||||
onSettled(false);
|
||||
}
|
||||
}
|
||||
const chainInfo = ref<any>(null);
|
||||
function onAsyncExecute(info: any) {
|
||||
|
||||
Reference in New Issue
Block a user