【功能评审】Bpm:复制流程

This commit is contained in:
YunaiV
2025-01-17 19:49:39 +08:00
parent 6b1c0e7369
commit 99790bae63
5 changed files with 12 additions and 15 deletions

View File

@@ -51,7 +51,7 @@ import { SimpleFlowNode, NodeType, NODE_DEFAULT_TEXT } from './consts'
import { useWatchNode } from './node'
import { ZoomOut, ZoomIn, ScaleToOriginal } from '@element-plus/icons-vue'
import { isString } from '@/utils/is'
import download from "@/utils/download";
import download from '@/utils/download'
defineOptions({
name: 'SimpleProcessModel'
@@ -173,7 +173,6 @@ defineExpose({
})
/** 导出 JSON */
// TODO @zws增加一个 download 里面搞个 json 更好
const exportJson = () => {
download.json(new Blob([JSON.stringify(processNodeTree.value)]), 'model.json')
}