fix: 更换了任务

This commit is contained in:
status102
2024-07-23 10:37:13 +08:00
parent c97abfdeb0
commit 9def4fd479
2 changed files with 4 additions and 3 deletions

View File

@@ -2487,7 +2487,7 @@ namespace MaaWpfGui.Main
{
["task_names"] = new JArray
{
"Stop",
"Home",
},
};
AsstTaskId id = AsstAppendTaskWithEncoding("Custom", taskParams);

View File

@@ -4101,9 +4101,10 @@ namespace MaaWpfGui.ViewModels.UI
return;
}
var image = Instances.AsstProxy.AsstGetImage();
TestLinkImage = image;
await Task.Delay(500);
TestLinkImage = Instances.AsstProxy.AsstGetImage();
TestLinkInfo = "Finish";
Instances.AsstProxy.AsstStop();
}
private bool _showTestLinkImage = false;