自动更新

This commit is contained in:
liufei
2021-07-20 17:30:12 +08:00
parent 1c692d5fa6
commit 9f24601ff2
17 changed files with 317 additions and 102 deletions

View File

@@ -10,9 +10,9 @@ namespace GeekDesk.Util
{
public static bool IsEmpty(string str)
public static bool IsEmpty(object str)
{
if (str == null || str.Length == 0 || str.Trim().Length == 0)
if (str == null || str.ToString().Length == 0 || str.ToString().Trim().Length == 0)
{
return true;
}