Skip to content

Commit

Permalink
🐛 更新两个逻辑节点:根据颜色收集内容时遇到空内容不收集
Browse files Browse the repository at this point in the history
  • Loading branch information
Littlefean committed Feb 2, 2025
1 parent c7b0aa2 commit e06dded
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ export namespace NodeLogic {
if (AutoComputeUtils.isNodeConnectedWithLogicNode(node)) {
continue;
}
if (node.text.trim() === "") {
continue;
}
// 匹配颜色
if (node.color.equals(matchColor)) {
matchNodes.push(node);
Expand Down Expand Up @@ -306,6 +309,9 @@ export namespace NodeLogic {
if (AutoComputeUtils.isNodeConnectedWithLogicNode(node)) {
continue;
}
if (node.details.trim() === "") {
continue;
}
// 匹配颜色
if (node.color.equals(matchColor)) {
matchNodes.push(node);
Expand Down

0 comments on commit e06dded

Please sign in to comment.