@@ -128,7 +128,7 @@ public class ParserHelper {
name = e.attributeValue(NAME);
clazz = e.attributeValue(_CLASS);
type = e.attributeValue(TYPE);
- script = e.getTextTrim();
+ script = e.getText();
file = e.attributeValue(FILE);
// 构建 node
@@ -25,7 +25,7 @@
]]>
</node>
- <node id="s2" name="选择脚本" type="switch_script">
+ <node id="s2" name="选择脚本" type="switch_script" language="groovy">
<![CDATA[
count = defaultContext.getData("count");
if(count > 100){