|
@@ -326,7 +326,7 @@ function getAllList(currPageNum = 1) {
|
|
|
html += `<tr>
|
|
|
<td width="25"><input type="checkbox" class="check-file" file-id=${att.id}></td>
|
|
|
<td>${((currPageNum-1)*pageCount)+index+1}</td>
|
|
|
- <td><a href="javascript:void(0)" class="pl-0 col-11 att-file-name" file-id=${att.id}>${att.filename}${att.fileext}</a></td>
|
|
|
+ <td><a href="${att.filepath}" target="_blank" class="pl-0 col-11 att-file-name" file-id=${att.id}>${att.filename}${att.fileext}</a></td>
|
|
|
<td>${moment(att.in_time * 1000).format('YYYY-MM-DD')}<br>${bytesToSize(att.filesize)}</td>
|
|
|
<td>
|
|
|
<a href="/change/download/file/${att.id}" class="mr-2" title="下载"><span class="fa fa-download text-primary"></span></a>`
|