perf(cache): 边缘缓存对齐 Cloudflare 默认模型

This commit is contained in:
ryan
2026-07-23 23:39:15 +08:00
parent 5b1e27d0a3
commit f94767fbc7
14 changed files with 465 additions and 94 deletions
@@ -14,6 +14,7 @@ import {
interface SectionShellProps {
title: string;
description: string;
titleExtra?: ReactNode;
formId: string;
saving?: boolean;
children: ReactNode;
@@ -22,6 +23,7 @@ interface SectionShellProps {
export function SectionShell({
title,
description,
titleExtra,
formId,
saving = false,
children,
@@ -30,7 +32,10 @@ export function SectionShell({
<Card>
<CardHeader className='flex flex-row items-start justify-between gap-4 space-y-0'>
<div className='space-y-1'>
<CardTitle className='text-sm font-semibold'>{title}</CardTitle>
<div className='flex items-center gap-1.5'>
<CardTitle className='text-sm font-semibold'>{title}</CardTitle>
{titleExtra}
</div>
<CardDescription>{description}</CardDescription>
</div>
<Button