From 626c712ce67dd377f5f6f1db33a8e418a406a799 Mon Sep 17 00:00:00 2001 From: hans Date: Tue, 23 Jul 2024 10:58:40 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-126948=20=E5=90=88=E5=B9=B6WebSocket?= =?UTF-8?q?=E7=9A=84namespace=E5=92=8Cevent=20FBP=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/crud/decision.api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }