mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-06-14 11:31:46 +08:00
enhancement #I8UQR4 while组件本身加入loopIndex
This commit is contained in:
@@ -82,10 +82,10 @@ public class WhileCondition extends LoopCondition {
|
||||
}
|
||||
|
||||
private boolean getWhileResult(Integer slotIndex, int loopIndex) throws Exception {
|
||||
Node whileItem = (Node) this.getWhileItem();
|
||||
Executable whileItem = this.getWhileItem();
|
||||
// 执行while组件
|
||||
whileItem.setCurrChainId(this.getCurrChainId());
|
||||
whileItem.setLoopIndex(loopIndex);
|
||||
setLoopIndex(whileItem, loopIndex);
|
||||
whileItem.execute(slotIndex);
|
||||
|
||||
return whileItem.getItemResultMetaValue(slotIndex);
|
||||
|
||||
Reference in New Issue
Block a user