4.8.5 perf (#1854)

* update yml

* perf: chat slider

* perf: workflow name

* i18n

* fix: ts

* fix: ts
This commit is contained in:
Archer
2024-06-26 12:51:36 +08:00
committed by GitHub
parent 93b44fc8f5
commit e247545afa
15 changed files with 136 additions and 33 deletions

View File

@@ -58,9 +58,11 @@ export const nodeTemplate2FlowNode = ({
};
};
export const storeNode2FlowNode = ({
item: storeNode
item: storeNode,
selected = false
}: {
item: StoreNodeItemType;
selected?: boolean;
}): Node<FlowNodeItemType> => {
// init some static data
const template =
@@ -101,6 +103,7 @@ export const storeNode2FlowNode = ({
id: storeNode.nodeId,
type: storeNode.flowNodeType,
data: moduleItem,
selected,
position: storeNode.position || { x: 0, y: 0 }
};
};