diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/parser/XmlFlowParser.java b/liteflow-core/src/main/java/com/yomahub/liteflow/parser/XmlFlowParser.java index 4ebcf0537..744d330c8 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/parser/XmlFlowParser.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/parser/XmlFlowParser.java @@ -88,6 +88,11 @@ private void parseOneChain(Element e) throws Exception{ List conditionList; String chainName = e.attributeValue("name"); + // 增加循环加载组件时的加载过滤 + if (FlowBus.containChain(chainName)){ + return; + } + conditionList = new ArrayList<>(); for (Iterator it = e.elementIterator(); it.hasNext();) { Element condE = it.next();