mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:55:33 +00:00
fix(plugin-workflow): fix revision with new properties (#3487)
This commit is contained in:
parent
f1a3c17522
commit
dcd732db89
@ -81,7 +81,7 @@ export default class extends Trigger {
|
||||
let payload = row;
|
||||
if (trigger[1]) {
|
||||
const paths = trigger[1].split('.');
|
||||
for await (const field of paths) {
|
||||
for (const field of paths) {
|
||||
if (payload.get(field)) {
|
||||
payload = payload.get(field);
|
||||
} else {
|
||||
|
@ -73,7 +73,9 @@ export async function revision(context: Context, next) {
|
||||
? {
|
||||
key: filter.key,
|
||||
title: origin.title,
|
||||
triggerTitle: origin.triggerTitle,
|
||||
allExecuted: origin.allExecuted,
|
||||
sync: origin.sync,
|
||||
}
|
||||
: values;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user