|
@@ -3172,7 +3172,13 @@ $(document).ready(() => {
|
|
|
});
|
|
|
attData.splice(att_index, 1);
|
|
|
// 重新生成List
|
|
|
- getAllList();
|
|
|
+
|
|
|
+ if ($('#alllist-table tr').length === 1) {
|
|
|
+ getAllList(parseInt($('#currentPage').text()) - 1);
|
|
|
+
|
|
|
+ } else {
|
|
|
+ getAllList(parseInt($('#currentPage').text()));
|
|
|
+ }
|
|
|
getNodeList(node.id);
|
|
|
$('#showAttachment').hide();
|
|
|
$('#showAttachment').attr('file-id', '');
|