更改使用

This commit is contained in:
橙子
2023-01-07 19:41:48 +08:00
parent 898be6c733
commit aed0b8c2e5
7 changed files with 40 additions and 27 deletions

View File

@@ -112,7 +112,7 @@ namespace Yi.Framework.Common.Base
public static string TryStringNull(this object value)
{
return value == null ? "" : value.ToString().Trim();
return value == null ? "" : value.ToString()!.Trim();
}
/// <summary>