fix: try to fix page size #99
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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('保存失败')
|
||||||
|
|||||||
Reference in New Issue
Block a user