Merge branch 'master' into production

production
钟良源 4 weeks ago
commit 9037901d03

@ -187,6 +187,12 @@ export const useFlowCallbacks = (
if (!sourceNode || !targetNode) {
return;
}
// 不允许链接到自己的节点上
if (sourceNode.id === targetNode.id) {
console.warn("不允许自旋链接");
return;
}
// 获取源节点和目标节点的参数信息
const sourceParams: any = sourceNode.data?.parameters || {};
const targetParams: any = targetNode.data?.parameters || {};

@ -309,8 +309,6 @@ const Market: React.FC<MarketProps> = ({ updateProjectComp }) => {
// 转换为数组格式
const resultComponents = Object.values(mergedComponents);
console.log('resultComponents', resultComponents);
// 如果没有组件,显示提示信息
if (resultComponents.length === 0) {
return (

Loading…
Cancel
Save