😎修复L.Text可能报错问题
This commit is contained in:
parent
a760abde44
commit
dc44a41801
@ -136,7 +136,14 @@ public partial class SysMenu : EntityBase
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return string.IsNullOrWhiteSpace(Title) ? Title : L.Text[Title];
|
try
|
||||||
|
{
|
||||||
|
return string.IsNullOrWhiteSpace(Title) ? Title : L.Text[Title];
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return Title;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user