From c199227e26815eb2a56afc1373fe9d996fd1f57e Mon Sep 17 00:00:00 2001 From: guoapeng Date: Thu, 20 Mar 2025 18:22:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8C=87=E4=BB=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libs/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils.ts b/src/libs/utils.ts index 1abe5ca..74e6b35 100644 --- a/src/libs/utils.ts +++ b/src/libs/utils.ts @@ -38,7 +38,7 @@ export const sendControl = async (params: any, type?: string) => { socket.init((data: any) => { systemStore.pushSystemList(data) }, 'cmd_response') - await (type ? control(params) : debugControl(params)) + await (type === 'debug' ? debugControl(params) : control(params)) systemStore.updateStreamVisible(true) FtMessage.success(`[${cmdName}]已发送`) // if (!res.ok) {