fix(plugin-workflow): fix context data of form trigger (#2749)
This commit is contained in:
parent
b95f4a723a
commit
68009d3d32
@ -88,7 +88,7 @@ export default class FormTrigger extends Trigger {
|
||||
appends,
|
||||
});
|
||||
}
|
||||
this.plugin.trigger(workflow, { data: payload, user: currentUser });
|
||||
this.plugin.trigger(workflow, { data: toJSON(payload), user: toJSON(currentUser) });
|
||||
});
|
||||
} else {
|
||||
const data = trigger[1] ? get(values, trigger[1]) : values;
|
||||
|
Loading…
Reference in New Issue
Block a user