fix: 修复作业可以点赞两次的问题

This commit is contained in:
MistEO
2023-03-05 15:56:32 +08:00
parent a17e36fd72
commit ea1326c604

View File

@@ -550,6 +550,7 @@ namespace MaaWpfGui
{
return;
}
CouldLikeWebJson = false;
string jsonParam = JsonConvert.SerializeObject(new
{
@@ -558,7 +559,6 @@ namespace MaaWpfGui
});
WebService.RequestPost(_copilotRatingUrl, jsonParam);
_recentlyRatedCopilotId.Add(CopilotId);
CouldLikeWebJson = false;
AddLog(Localization.GetString("ThanksForLikeWebJson"), UILogColor.Info);
}