mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:25:52 +00:00
fix(plugin-workflow): fix undefined error of action trigger (#4710)
This commit is contained in:
parent
b525362751
commit
a9f1ce7bd6
@ -24,7 +24,7 @@ export default class extends Trigger {
|
||||
constructor(workflow: WorkflowPlugin) {
|
||||
super(workflow);
|
||||
|
||||
workflow.app.use(this.middleware, { after: 'dataSource' });
|
||||
workflow.app.dataSourceManager.use(this.middleware);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user