mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
feature #I8MW6Q 增加脚本节点判断
This commit is contained in:
@@ -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;
|
||||
}
|
||||
// 更新脚本
|
||||
|
||||
Reference in New Issue
Block a user