mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
fix.界面上吃药状态显示的问题
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#include <type_traits>
|
||||
|
||||
#include "AsstAux.h"
|
||||
#include "AsstPort.h"
|
||||
#include "Version.h"
|
||||
|
||||
namespace asst {
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace MeoAsstGui
|
||||
_viewStatus = (JObject)JsonConvert.DeserializeObject(jsonStr);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
_viewStatus = new JObject();
|
||||
return false;
|
||||
|
||||
@@ -231,6 +231,7 @@ namespace MeoAsstGui
|
||||
|
||||
CatchStatus = "";
|
||||
ExecInfo = "";
|
||||
MedicineInfo = "";
|
||||
StoneInfo = "";
|
||||
RunStatus = "";
|
||||
}
|
||||
@@ -245,9 +246,13 @@ namespace MeoAsstGui
|
||||
return;
|
||||
}
|
||||
ExecInfo = "";
|
||||
if (UseMedicine)
|
||||
{
|
||||
MedicineInfo = "已吃药 0 个";
|
||||
}
|
||||
if (UseStone)
|
||||
{
|
||||
StoneInfo = "已碎石 0 个";
|
||||
StoneInfo = "已碎石 0 颗";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,6 @@ namespace MeoAsstGui
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
private string _latestUrl = "https://github.com/MistEO/MeoAssistance/releases/latest";
|
||||
|
||||
Reference in New Issue
Block a user