mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 12:48:30 +00:00
update doc and fix copy node (#1399)
* update doc * fix: copy node * perf: adapt tip * update doc and package * remove code
This commit is contained in:
@@ -231,17 +231,20 @@ const MenuRender = React.memo(function MenuRender({
|
||||
flowNodeType: node.data.flowNodeType,
|
||||
inputs: node.data.inputs,
|
||||
outputs: node.data.outputs,
|
||||
showStatus: node.data.showStatus
|
||||
showStatus: node.data.showStatus,
|
||||
pluginId: node.data.pluginId
|
||||
};
|
||||
return state.concat(
|
||||
storeNode2FlowNode({
|
||||
item: {
|
||||
flowNodeType: template.flowNodeType,
|
||||
avatar: template.avatar,
|
||||
name: template.name,
|
||||
intro: template.intro,
|
||||
nodeId: getNanoid(),
|
||||
position: { x: node.position.x + 200, y: node.position.y + 50 },
|
||||
flowNodeType: template.flowNodeType,
|
||||
showStatus: template.showStatus,
|
||||
pluginId: template.pluginId,
|
||||
inputs: template.inputs,
|
||||
outputs: template.outputs
|
||||
}
|
||||
|
Reference in New Issue
Block a user