diff --git a/src/lib/faas/trigger.ts b/src/lib/faas/trigger.ts index 6cd91f74f3..c5b9fe71f1 100644 --- a/src/lib/faas/trigger.ts +++ b/src/lib/faas/trigger.ts @@ -302,5 +302,8 @@ export function AccessorEventCallBack(data: any) { // 触发数据事件 const event = `/db/${params.collection}#${op}` - scheduler.emit(event, result) + scheduler.emit(event, { + exec_params: params, + exec_result: result + }) } \ No newline at end of file