Ver código fonte

取消出版社上传文件校验

warrior 5 meses atrás
pai
commit
acceb40baa

+ 3 - 1
projects/textbook/src/app/comp-upload/comp-upload.component.ts

@@ -86,7 +86,9 @@ export class CompUploadComponent implements OnInit {
     if (info.type == 'removed') {
       return
     }
-    let isEncrypt = await this.isEncrypt(info)
+    if(this.acl != 'private'){
+      let isEncrypt = await this.isEncrypt(info)
+    }
     // if (isEncrypt) {
     //   return
     // }