diff --git a/ruoyi-ui/src/views/workflow/definition/index.vue b/ruoyi-ui/src/views/workflow/definition/index.vue index 6f441ef8..12d26a7d 100644 --- a/ruoyi-ui/src/views/workflow/definition/index.vue +++ b/ruoyi-ui/src/views/workflow/definition/index.vue @@ -187,7 +187,7 @@ - + @@ -375,6 +375,7 @@ export default { processView: { title: '', open: false, + index: undefined, xmlData:"", }, // bpmn.xml 导入 @@ -515,6 +516,7 @@ export default { handleProcessView(row) { let definitionId = row.definitionId; this.processView.title = "流程图"; + this.processView.index = definitionId; // 发送请求,获取xml readXml(definitionId).then(res => { this.processView.xmlData = res.data;