diff --git a/src/modules/crud/decision.api.ts b/src/modules/crud/decision.api.ts index 6207d6f..efb8c31 100644 --- a/src/modules/crud/decision.api.ts +++ b/src/modules/crud/decision.api.ts @@ -50,7 +50,7 @@ export class DecisionApi implements Api { /** * 获取驱动加载路径 - * @returns + * @returns */ getDriverLoadPath(data: Connection): Promise> { const form = { @@ -191,6 +191,6 @@ export class DecisionApi implements Api { Dec.socket.removeListener(name); } - Dec.socket.originOn(name, callback); + Dec.socket.on(name, callback); } }