소스 검색

限制其他文件上传文件2份

cehn 7 달 전
부모
커밋
963146a6ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      projects/textbook/src/modules/nav-author/components/attachment/attachment.component.html

+ 1 - 1
projects/textbook/src/modules/nav-author/components/attachment/attachment.component.html

@@ -367,7 +367,7 @@
       [files]="moreMaterial"
       [type]="'pdf'"
       [width]="320"
-      [maxlenght]="99"
+      [maxlenght]="2"
       (change)="upload($event, 'moreMaterial')"
       title="上传文件"
     ></app-comp-upload>