|
@@ -183,7 +183,6 @@ export default class ScriptNodeInfo extends React.Component<any, any> {
|
|
return item.group === 'bottom' ? pre.concat(item) : pre
|
|
return item.group === 'bottom' ? pre.concat(item) : pre
|
|
}, [])
|
|
}, [])
|
|
currentOutputPorts.forEach((item: any) => {
|
|
currentOutputPorts.forEach((item: any) => {
|
|
- console.log('item:', item);
|
|
|
|
const index = outputData.findIndex((output: any) => output.outputVar === item.id)
|
|
const index = outputData.findIndex((output: any) => output.outputVar === item.id)
|
|
if (index === -1) {
|
|
if (index === -1) {
|
|
node.removePort(item.id)
|
|
node.removePort(item.id)
|