mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 工作编排
This commit is contained in:
parent
e18da50140
commit
f18b1de5dc
|
|
@ -135,7 +135,12 @@ const clickShowDebug = () => {
|
|||
const workflow = new WorkFlowInstance(graphData)
|
||||
try {
|
||||
workflow.is_valid()
|
||||
getDetail()
|
||||
detail.value = {
|
||||
type: 'WORK_FLOW',
|
||||
...workflow.get_base_node()?.properties.node_data,
|
||||
work_flow: getGraphData()
|
||||
}
|
||||
|
||||
showDebug.value = true
|
||||
} catch (e: any) {
|
||||
MsgError(e.toString())
|
||||
|
|
|
|||
Loading…
Reference in New Issue