소스 검색

取消出版社上传文件校验

warrior 5 달 전
부모
커밋
acceb40baa
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      projects/textbook/src/app/comp-upload/comp-upload.component.ts

+ 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
     // }