diff --git a/index.html b/index.html index 65cd05f..e9fed3d 100644 --- a/index.html +++ b/index.html @@ -14,5 +14,10 @@
+ diff --git a/src/views/flowDesign/hooks/useNode.ts b/src/views/flowDesign/hooks/useNode.ts index f3514df..f76a661 100644 --- a/src/views/flowDesign/hooks/useNode.ts +++ b/src/views/flowDesign/hooks/useNode.ts @@ -10,7 +10,7 @@ const useNode = (node: FlowNode) => { * 生成节点id */ const generateId = (): string => { - return `field-${Math.random().toString(36).substr(5)}` + return `node-${Math.random().toString(36).substr(5)}` } /** * 添加条件