Browse Source

Merge pull request #151 in DEC/decision-webui-dcm from ~DAILER/decision-webui-dcm:release/10.0 to release/10.0

* commit '03ae058adc5d1d027d4aa2bde6cbf1ffcd9d5360':
  DEC-11996 feat: 【华为安全】内存等敏感信息需要鉴权才能获得,前台websocket事件携带token参数
research/10.0
parent
commit
4b3ff744e3
  1. 2
      src/modules/crud/decision.api.ts

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

@ -96,7 +96,7 @@ export class DecisionApi implements Api {
private sendEditStatusEvent(name: string, type: string): Promise<SocketResult> {
return new Promise(resolve => {
if (Dec && Dec.socket.connected) {
Dec.socket.emit(type, BI.encode(name), (re: any) => {
Dec.socketEmit(type, BI.encode(name), (re: any) => {
resolve(re);
});
} else {

Loading…
Cancel
Save