src/app/routes/delon/downfile/downfile.component.html
New file @@ -0,0 +1,6 @@ <div class="content__title"> <h1>Download a file</h1> </div> <nz-card nzTitle="DEMO"> <button nz-button *ngFor="let i of fileTypes" class="mr-sm" down-file [http-data]="data" http-url="assets/tmp/demo{{i}}" file-name="demo中文">{{i}}</button> </nz-card>