From 3931c704761e5f51b9aed161560a3214058881c8 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期六, 28 二月 2026 17:35:43 +0800
Subject: [PATCH] 抓拍页面,分页展示错误修复
---
fzzy-igdss-web/src/main/resources/static/security/eventInfo/eventInfo.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/fzzy-igdss-web/src/main/resources/static/security/eventInfo/eventInfo.js b/fzzy-igdss-web/src/main/resources/static/security/eventInfo/eventInfo.js
index c96f037..db9e275 100644
--- a/fzzy-igdss-web/src/main/resources/static/security/eventInfo/eventInfo.js
+++ b/fzzy-igdss-web/src/main/resources/static/security/eventInfo/eventInfo.js
@@ -134,6 +134,11 @@
}
}
});
+ var total = typeof totalItems !== 'undefined' ? totalItems : 0;
+ if(total == 0){
+ // 闅愯棌鍒嗛〉
+ $('#paginationContainer').hide();
+ }
}
/**
@@ -232,12 +237,12 @@
</div>
`;
// 闅愯棌鍒嗛〉
- $('.pagination-container').hide();
+ $('#paginationContainer').hide();
return;
}
// 鏄剧ず鍒嗛〉
- $('.pagination-container').show();
+ $('#paginationContainer').show();
// 鐢熸垚浜嬩欢鍗$墖
var html = '';
--
Gitblit v1.9.3