feature #I8MW6Q 增加脚本节点判断

This commit is contained in:
Dale Lee
2024-01-18 10:07:30 +08:00
parent 86c961351d
commit 18fe4e0915

View File

@@ -330,7 +330,7 @@ public class FlowBus {
// 重新加载脚本
public static void reloadScript(String nodeId, String script) {
Node node = getNode(nodeId);
if (node == null) {
if (node == null || !node.getType().isScript()) {
return;
}
// 更新脚本