mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:24:54 +00:00
fix: node card copy toolConfig (#5605)
This commit is contained in:
parent
c4632a2222
commit
4e17fcfdda
|
|
@ -473,7 +473,8 @@ const MenuRender = React.memo(function MenuRender({
|
||||||
pluginId: node.data.pluginId,
|
pluginId: node.data.pluginId,
|
||||||
version: node.data.version,
|
version: node.data.version,
|
||||||
versionLabel: node.data.versionLabel,
|
versionLabel: node.data.versionLabel,
|
||||||
isLatestVersion: node.data.isLatestVersion
|
isLatestVersion: node.data.isLatestVersion,
|
||||||
|
toolConfig: node.data.toolConfig
|
||||||
};
|
};
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
@ -495,7 +496,8 @@ const MenuRender = React.memo(function MenuRender({
|
||||||
outputs: template.outputs,
|
outputs: template.outputs,
|
||||||
version: template.version,
|
version: template.version,
|
||||||
versionLabel: template.versionLabel,
|
versionLabel: template.versionLabel,
|
||||||
isLatestVersion: template.isLatestVersion
|
isLatestVersion: template.isLatestVersion,
|
||||||
|
toolConfig: template.toolConfig
|
||||||
},
|
},
|
||||||
selected: true,
|
selected: true,
|
||||||
parentNodeId: undefined,
|
parentNodeId: undefined,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue