fix: Make check recon connection after login.

This commit is contained in:
sunwen
2024-06-19 17:55:42 +08:00
parent 87b37d5ce9
commit 4c8a99d4fb
2 changed files with 13 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
#include "event/EventCenter.h"
#include "log/SystemOperationLog.h"
#include "appvals/AppGlobalValues.h"
UsctStateManager* UsctStateManager::getInstance()
{
@@ -76,6 +77,10 @@ QString UsctStateManager::getStateErrorMessage(int aStateCode)
void UsctStateManager::updateReconState(bool aIsConnected,int aState)
{
if(AppGlobalValues::InProcessing().toBool())
{
return;
}
setState(ReconConnectionState, aIsConnected);
for (int i = 0; i < 5; ++i)
{