From 7d0edd87357a77803708ec48f3526cd4b4465aa3 Mon Sep 17 00:00:00 2001 From: alan Date: Mon, 30 Sep 2019 11:17:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20DEC-9958=20base64=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E4=B8=80=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/crud/decision.api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/crud/decision.api.ts b/src/modules/crud/decision.api.ts index 135c8d4..f9e2df2 100644 --- a/src/modules/crud/decision.api.ts +++ b/src/modules/crud/decision.api.ts @@ -96,7 +96,7 @@ export class DecisionApi implements Api { private sendEditStatusEvent(name: string, type: string): Promise { return new Promise(resolve => { if (Dec && Dec.socket.connected) { - Dec.socket.emit(type, name, (re: any) => { + Dec.socket.emit(type, BI.encode(name), (re: any) => { resolve(re); }); } else {