Add files via upload

This commit is contained in:
公明
2026-06-30 15:00:50 +08:00
committed by GitHub
parent 2fc37fefd1
commit bbe14c1861
+2
View File
@@ -6699,6 +6699,8 @@ function changeConversationsPageSize() {
const sel = document.getElementById('conversations-page-size-pagination');
const newSize = sel ? parseInt(sel.value, 10) : 50;
if (![20, 50, 100].includes(newSize)) return;
// 重建 DOM 后浏览器可能异步触发 change,值未变时不应重置页码
if (newSize === conversationsPagination.pageSize) return;
try {
localStorage.setItem(CONVERSATIONS_PAGE_SIZE_KEY, String(newSize));
} catch (e) { /* ignore */ }