mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 04:02:09 +08:00
bug #IBVGGT 13版本groovy脚本中使用_meta.cmp.setIsEnd(true)结束流程不生效
This commit is contained in:
@@ -48,7 +48,7 @@ public class ScriptCommonComponent extends NodeComponent implements ScriptCompon
|
||||
public boolean isEnd() {
|
||||
//因为如果在scriptExecutor去执行cmp的super.isEnd()方法,会引起无限循环导致栈溢出
|
||||
//这里没有更好的办法,只有硬代码判断下了
|
||||
if (!this.getRefNode().getLanguage().equals(ScriptTypeEnum.JAVA.getDisplayName())){
|
||||
if (!ScriptTypeEnum.JAVA.getDisplayName().equals(this.getRefNode().getLanguage())){
|
||||
return super.isEnd();
|
||||
}
|
||||
ScriptExecuteWrap wrap = this.buildWrap(this);
|
||||
|
||||
Reference in New Issue
Block a user