chenluhua1980
2025-11-18 fcc340fc812ee692f72fa1774c114e6f4d788f5c
SourceCode/Bond/Servo/ServoDlg.cpp
@@ -1101,7 +1101,20 @@
         CUserManager2Dlg dlg;
         dlg.DoModal();
      }
      else if (menuId == 2) {
         CLoginDlg2 dlg;
         if (dlg.DoModal() != IDOK) {
            PostMessage(WM_CLOSE);
         }
         else {
            bool bRet = CUserManager2::getInstance().login((LPTSTR)(LPCTSTR)dlg.m_strUsername,
               (LPTSTR)(LPCTSTR)dlg.m_strPassword);
            if (!bRet) {
               AfxMessageBox("登录失败,请检查用户名或密码是否正确!");
            }
            UpdateLoginStatus();
         }
      }
      /*
      SystemLogManager& logManager = SystemLogManager::getInstance();