This commit is contained in:
ryan
2026-03-13 17:16:13 +08:00
@@ -891,7 +891,7 @@ export function PerformancePage() {
> >
{busyKey === 'performance-proxy' {busyKey === 'performance-proxy'
? '保存中...' ? '保存中...'
: '保存代理调优'} : '保存'}
</PrimaryButton> </PrimaryButton>
} }
> >
@@ -1031,8 +1031,8 @@ export function PerformancePage() {
} }
> >
{performanceFields.OpenRestyCacheEnabled {performanceFields.OpenRestyCacheEnabled
? '先关闭缓存' ? '关闭'
: '先启用缓存'} : '启用'}
</SecondaryButton> </SecondaryButton>
<PrimaryButton <PrimaryButton
type="button" type="button"
@@ -1040,10 +1040,7 @@ export function PerformancePage() {
disabled={busyKey === 'performance-cache'} disabled={busyKey === 'performance-cache'}
> >
{busyKey === 'performance-cache' {busyKey === 'performance-cache'
? '保存中...' ? '保存中...' : '保存'}
: performanceFields.OpenRestyCacheEnabled
? '保存缓存设置'
: '保存为关闭状态'}
</PrimaryButton> </PrimaryButton>
</div> </div>
} }
@@ -1199,7 +1196,7 @@ export function PerformancePage() {
> >
{busyKey === 'performance-gzip' {busyKey === 'performance-gzip'
? '保存中...' ? '保存中...'
: '保存压缩设置'} : '保存'}
</PrimaryButton> </PrimaryButton>
} }
> >