This commit is contained in:
zhangkai
2024-06-25 14:55:48 +08:00
parent 68c9acc85b
commit 8b8f4111e2
42 changed files with 159 additions and 103 deletions

View File

@@ -724,7 +724,8 @@ export function validateSelection(
(n) => !selection.edges.some((e) => e.source === n.id)
).length > 1
) {
errorsArray.push("Please select only one node with free outputs");
errorsArray.push("请仅选择一个具有自由输出的节点");
// errorsArray.push("Please select only one node with free outputs");
}
// check if there is any node that does not have any connection
@@ -735,7 +736,8 @@ export function validateSelection(
!selection.edges.some((edge) => edge.source === node.id)
)
) {
errorsArray.push("Please select only nodes that are connected");
errorsArray.push("请仅选择已连接的节点");
// errorsArray.push("Please select only nodes that are connected");
}
return errorsArray;
}