Browse Source

调整解压缩BUG

章政 8 years ago
parent
commit
cb5f87befe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS-MES/PublicMethod/ZipHelper.cs

+ 1 - 1
UAS-MES/PublicMethod/ZipHelper.cs

@@ -49,8 +49,8 @@ namespace UAS_MES.PublicMethod
                             byte[] data = new byte[size];
                             while (size > 0)
                             {
-                                streamWriter.Write(data, 0, size);
                                 size = s.Read(data, 0, data.Length);
+                                streamWriter.Write(data, 0, size);
                             }
                         }
                     }