整体调整了功能
This commit is contained in:
@@ -84,6 +84,7 @@ namespace FATrace.WPLApp.Services
|
||||
if (string.IsNullOrEmpty(value))
|
||||
{
|
||||
IsLogin = false;
|
||||
CurAccessLevel = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -94,6 +95,23 @@ namespace FATrace.WPLApp.Services
|
||||
}
|
||||
}
|
||||
|
||||
private string? _CurAccessLevel;
|
||||
/// <summary>
|
||||
/// 当前用户等级(管理员/操作员/访客)
|
||||
/// </summary>
|
||||
public string? CurAccessLevel
|
||||
{
|
||||
get { return _CurAccessLevel; }
|
||||
set
|
||||
{
|
||||
if (_CurAccessLevel != value)
|
||||
{
|
||||
_CurAccessLevel = value;
|
||||
RaisePropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool _IsLogin;
|
||||
/// <summary>
|
||||
/// 登录
|
||||
|
||||
Reference in New Issue
Block a user