Browse Source

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

cehn 5 months ago
parent
commit
963146a6ea

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