mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 03:48:24 +00:00
4.8.5 perf (#1854)
* update yml * perf: chat slider * perf: workflow name * i18n * fix: ts * fix: ts
This commit is contained in:
@@ -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 }
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user