提交 ccb1807a 编写于 作者: O o2null

Merge branch 'hotfix/修复消息执行脚本异常' into 'develop'

hotfix/修复消息执行脚本异常 同时合并到master

See merge request o2oa/o2oa!328
......@@ -101,7 +101,8 @@ class ActionCreate extends BaseAction {
if (compiledScript == null) {
String eval = Config.messageSendRuleScript();
if (StringUtils.isNotEmpty(eval)) {
compiledScript = ScriptingFactory.functionalizationCompile(func);
eval = eval + "\r\n return " + func + "();";
compiledScript = ScriptingFactory.functionalizationCompile(eval);
scriptMap.put(func, compiledScript);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册