Browse Source

REPORT-126948 合并WebSocket的namespace和event FBP部分

research/mss-2.0
hans 4 months ago
parent
commit
626c712ce6
  1. 4
      src/modules/crud/decision.api.ts

4
src/modules/crud/decision.api.ts

@ -50,7 +50,7 @@ export class DecisionApi implements Api {
/** /**
* *
* @returns * @returns
*/ */
getDriverLoadPath(data: Connection): Promise<ResultType<string>> { getDriverLoadPath(data: Connection): Promise<ResultType<string>> {
const form = { const form = {
@ -191,6 +191,6 @@ export class DecisionApi implements Api {
Dec.socket.removeListener(name); Dec.socket.removeListener(name);
} }
Dec.socket.originOn(name, callback); Dec.socket.on(name, callback);
} }
} }

Loading…
Cancel
Save