我需要您的帮助,我尝试做多个下载文件,但是我不确定该怎么做,因为我将其放在桌子上
我想这样做
名称说明下载
示例:
下载1个文本,根据文件下载2个EXE。
这是我的代码,可以与angular 7和node js 10一起使用,请给我帮忙,团队吗?
<div class="col-sm-12 p-t-15">
<h1 class="text-center" style="font-family: 'Open Sans'">Lista de Programas</h1>
<div class="text-right">
<label style="font-size: 15px">Search: </label>
<input type="text" class="searchborderclass" id="myInput" onkeyup="myFunction()" placeholder="Search Program" title="Type in a name">
</div>
<table class="table display" id="myTable">
<thead class="thead-dark">
<tr>
<th scope="col">Name</th>
<th scope="col">Description</th>
<th scope="col">Download</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let books of bookslist | paginate: { itemsPerPage: 10, currentPage: pageActual }">
<td><b style="font-size: 16px">{{books['name']}}</b></td>
<td>{{books['description']}}</td>
<td><a>
<button class="btn btn-primary links" id="links">Download</button></a></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<pagination-controls (pageChange)="pageActual = $event"></pagination-controls>
</div>