积分优化

This commit is contained in:
2026-10-17 10:34:45 +08:00
parent 29b15d4b54
commit bbd0e6d392
27 changed files with 1054 additions and 335 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ namespace FineUIPro.Web
{
//url = "index.aspx";
string unitId = Const.UnitId_XJYJ;
if (!string.IsNullOrWhiteSpace(this.CurrUser.UnitId) && this.CurrUser.Base_Unit.IsBranch == true)
if (this.CurrUser != null && !string.IsNullOrWhiteSpace(this.CurrUser.UnitId) && this.CurrUser.Base_Unit.IsBranch == true)
{
unitId = this.CurrUser.UnitId;
}