From c979765a777f60757a4dc90159b20704aa06154f Mon Sep 17 00:00:00 2001 From: luorijun Date: Sat, 20 Dec 2025 16:07:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=99=BD=E5=90=8D=E5=8D=95?= =?UTF-8?q?=E4=B8=8A=E9=99=90=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- src/app/admin/whitelist/page.tsx | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f112bb3..5b34e06 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ ## TODO -提取记录,长效动态统计 - 购买页固定套餐 ### 禁止直接依赖 form @@ -10,6 +8,8 @@ ### 次要 +业务定制页面每月需求用量,可选项需要确认是否合理 + 页头高度降低 帮助中心文档优化 diff --git a/src/app/admin/whitelist/page.tsx b/src/app/admin/whitelist/page.tsx index 129f0c4..7e7c9af 100644 --- a/src/app/admin/whitelist/page.tsx +++ b/src/app/admin/whitelist/page.tsx @@ -24,6 +24,7 @@ import Page from '@/components/page' import DataTable from '@/components/data-table' import {format, parseISO} from 'date-fns' import {getClientIp} from '@/actions/ip' +import {Alert, AlertTitle} from '@/components/ui/alert' const schema = z.object({ host: z.string().min(1, {message: 'IP地址不能为空'}), remark: z.string().optional(), @@ -241,10 +242,14 @@ export default function WhitelistPage(props: WhitelistPageProps) { + {/* 全局提示 */} + + 白名单上限 {data.total}/{MAX_WHITELIST_COUNT} + + {/* 数据表 */}