소스 검색

修复条件限制

DuGuYang 1 년 전
부모
커밋
0dffa76b57
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Util/HaoDa/HaoDaHelper.cs

+ 1 - 1
Util/HaoDa/HaoDaHelper.cs

@@ -794,7 +794,7 @@ namespace MySystem
         {
             Dictionary<string, string> file = new Dictionary<string, string>();
             file.Add("fileName", value.Substring(value.LastIndexOf("/")).Trim('/'));
-            if (!string.IsNullOrEmpty(value.Split(',')[0]))
+            if (string.IsNullOrEmpty(value.Split(',')[0]))
             {
                 return "";
             }