From 7cd13475f94a8b0d4ea2f575ef37db32530df448 Mon Sep 17 00:00:00 2001 From: "Songyang.Huo" Date: Fri, 13 Oct 2023 20:55:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=A8=E9=87=8A=E6=8E=89=E4=B8=80?= =?UTF-8?q?=E8=A1=8C=E4=BB=A3=E7=A0=81=EF=BC=8C=E6=B6=88=E9=99=A4=E4=B8=80?= =?UTF-8?q?=E4=B8=AAWarning=20(#6904)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Services/RemoteControl/RemoteControlService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MaaWpfGui/Services/RemoteControl/RemoteControlService.cs b/src/MaaWpfGui/Services/RemoteControl/RemoteControlService.cs index 67156541c9..cb6c63fc66 100644 --- a/src/MaaWpfGui/Services/RemoteControl/RemoteControlService.cs +++ b/src/MaaWpfGui/Services/RemoteControl/RemoteControlService.cs @@ -437,7 +437,9 @@ namespace MaaWpfGui.Services.RemoteControl { var type = task.GetValue("type")?.Value(); var id = task.GetValue("id")?.Value(); - var data = task.GetValue("params")?.Value(); + + // 当前没有任务需要读取params,未来需要时可以取消注释 + // var data = task.GetValue("params")?.Value(); var payload = string.Empty; var status = "SUCCESS";