Browse Source

chore: Adapted to modal

master
wangxiang 2 years ago
parent
commit
d137c1dc15
No known key found for this signature in database
GPG Key ID: 1BA7946AB6B232E4
  1. 2
      src/views/workflow/model/helper/WorkflowModelDesign.vue
  2. 4
      src/views/workflow/model/index.vue

2
src/views/workflow/model/helper/WorkflowModelDesign.vue

@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
});
const workflowDesignProps = {
style: { height: '100vh' },
style: { height: 'calc(100vh - 85px)' },
workflowSubmitSuccess: () => emit('success')
};
const emit = defineEmits(['success', 'register']);

4
src/views/workflow/model/index.vue

@ -207,8 +207,8 @@ @@ -207,8 +207,8 @@
}
async function handleExportXml(record?: Recordable) {
const blobData = await bpmnXmlDownload(record?.id);
downloadByData(blobData, `${record?.name}.bpmn20.xml`, 'application/xml');
const blob = await bpmnXmlDownload(record?.id);
downloadByData(blob, `${record?.name}.bpmn20.xml`, 'application/xml');
}
function handleCopy(record?: Recordable) {

Loading…
Cancel
Save