😎修复L.Text可能报错问题

This commit is contained in:
zuohuaijun 2025-06-12 11:20:26 +08:00
parent a760abde44
commit dc44a41801

View File

@ -135,9 +135,16 @@ public partial class SysMenu : EntityBase
public string? I18nName
{
get
{
try
{
return string.IsNullOrWhiteSpace(Title) ? Title : L.Text[Title];
}
catch
{
return Title;
}
}
}
/// <summary>