mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-11 04:00:50 +08:00
修改可空类型
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Yi.Framework.WebCore.DbExtend
|
||||
|
||||
|
||||
var roles = userRoleMenu?.Roles;
|
||||
if (roles.IsNull())
|
||||
if (roles!.IsNull())
|
||||
{
|
||||
roles = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user