mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-13 18:36:37 +08:00
perf(cache): 边缘缓存对齐 Cloudflare 默认模型
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user