From 14ea780da8b070d19893b18e023a0b85122dcd61 Mon Sep 17 00:00:00 2001 From: "Austin.Duan" Date: Thu, 18 Apr 2024 13:59:45 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-118414=20fix:=20=E3=80=90=E5=A4=9A?= =?UTF-8?q?=E7=A7=9F=E6=88=B7=E3=80=91=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E7=BC=96=E8=BE=91=E5=BC=82=E5=B8=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= 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 8b8c983..7b8bc37 100644 --- a/src/modules/crud/decision.api.ts +++ b/src/modules/crud/decision.api.ts @@ -64,7 +64,7 @@ export class DecisionApi implements Api { // TODO: 当前emit同步回调已无法执行 this.sendEditStatusEvent(name, editStatusEvent.OPEN); - if (Dec.socket?.connected) { + if (!Dec.socket?.connected) { return Promise.resolve({ data: 'success' }); }