修正多次Logout、Login后,UI会变卡顿的问题。

This commit is contained in:
Liang Su 2024-01-09 10:34:42 +08:00
parent 8b12920442
commit 078e0368ac
1 changed files with 2 additions and 0 deletions

View File

@ -809,6 +809,8 @@ namespace SicUI.Client
LOG.Info(
$"{BaseApp.Instance.UserContext.LoginName} logoff as {BaseApp.Instance.UserContext.Role.RoleName}");
BaseApp.Instance.UserContext.Clear();
ClearItems();
}
catch (Exception exp)
{