mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-12-26 18:15:59 +08:00
fix 修复 listenerVariable.getVariable() 获取null问题
This commit is contained in:
@@ -74,6 +74,9 @@ public class WorkflowGlobalListener implements GlobalListener {
|
|||||||
String ext = listenerVariable.getNode().getExt();
|
String ext = listenerVariable.getNode().getExt();
|
||||||
if (StringUtils.isNotBlank(ext)) {
|
if (StringUtils.isNotBlank(ext)) {
|
||||||
Map<String, Object> variable = listenerVariable.getVariable();
|
Map<String, Object> variable = listenerVariable.getVariable();
|
||||||
|
if (CollUtil.isNotEmpty(variable)) {
|
||||||
|
variable = new HashMap<>();
|
||||||
|
}
|
||||||
NodeExtVo nodeExt = nodeExtService.parseNodeExt(ext, variable);
|
NodeExtVo nodeExt = nodeExtService.parseNodeExt(ext, variable);
|
||||||
Set<String> copyList = nodeExt.getCopySettings();
|
Set<String> copyList = nodeExt.getCopySettings();
|
||||||
if (CollUtil.isNotEmpty(copyList)) {
|
if (CollUtil.isNotEmpty(copyList)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user