Browse Source

Merge pull request #96 in DEC/decision-webui-dcm from ~ALAN/decision-webui-dcm:feature/10.0 to feature/10.0

* commit '7d0edd87357a77803708ec48f3526cd4b4465aa3':
  fix: DEC-9958 base64编码一线
qufenxi
alan 5 years ago
parent
commit
0da409d745
  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> { private sendEditStatusEvent(name: string, type: string): Promise<SocketResult> {
return new Promise(resolve => { return new Promise(resolve => {
if (Dec && Dec.socket.connected) { if (Dec && Dec.socket.connected) {
Dec.socket.emit(type, name, (re: any) => { Dec.socket.emit(type, BI.encode(name), (re: any) => {
resolve(re); resolve(re);
}); });
} else { } else {

Loading…
Cancel
Save