fix: try to fix page size #99

This commit is contained in:
duorameng
2026-05-12 11:55:03 +08:00
parent fb617ae24c
commit 2b0f37b7ea
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ watch(() => route.query, (newQuery) => {
<span class="w-10 shrink-0 text-center"></span> <span class="w-10 shrink-0 text-center"></span>
</div> </div>
<!-- 列表 --> <!-- 列表 -->
<div class="divide-y flex-1"> <div class="divide-y flex-1 overflow-y-auto custom-scrollbar">
<div v-if="logs.length === 0" class="text-sm text-muted-foreground text-center py-8"> <div v-if="logs.length === 0" class="text-sm text-muted-foreground text-center py-8">
暂无日志 暂无日志
</div> </div>
+1
View File
@@ -75,6 +75,7 @@ async function saveSettings() {
login_log_max_count: String(form.value.login_log_max_count || '1000') login_log_max_count: String(form.value.login_log_max_count || '1000')
}) })
await refreshSettings() await refreshSettings()
await loadSettings()
toast.success('保存成功') toast.success('保存成功')
} catch { } catch {
toast.error('保存失败') toast.error('保存失败')