|
@@ -155,7 +155,7 @@ $(document).ready(() => {
|
|
|
// 下载
|
|
|
html.push('<a href="download/file?b_id=' + id + '&index=' + i + '" title="下载"><i class="fa fa-download "></i></a>');
|
|
|
// 删除
|
|
|
- if (f.uid === userID && (!stageChecked || f.renew)) {
|
|
|
+ if (f.uid === userID && ((!isPre(data) && !stageChecked) || f.renew)) {
|
|
|
html.push('<a class="delete-att text-danger ml-1" href="javascript:void(0);" data-id ="' + id + '"file-index="' + i + '" title="删除"><i class="fa fa-remove "></i></a>');
|
|
|
}
|
|
|
html.push('</td>');
|