[优化] 文本优化

This commit is contained in:
ryan
2026-03-31 13:13:38 +08:00
parent c2184affed
commit 65ecc27907
2 changed files with 7 additions and 8 deletions
@@ -136,8 +136,7 @@ export function ProxyRouteCreateDrawer({
open={open}
onOpenChange={onOpenChange}
direction="right"
title="新建网站"
description="先完成最小可用的站点录入,创建后再进入配置页继续补齐 HTTPS、缓存和限流。"
title="新建规则"
footer={
<div className="flex items-center justify-end gap-3">
<PrimaryButton
@@ -145,7 +144,7 @@ export function ProxyRouteCreateDrawer({
form="create-website-form"
disabled={createMutation.isPending}
>
{createMutation.isPending ? '创建中...' : '创建并进入配置'}
{createMutation.isPending ? '创建中...' : '创建'}
</PrimaryButton>
</div>
}
@@ -203,7 +202,7 @@ export function ProxyRouteCreateDrawer({
error={form.formState.errors.remark?.message}
>
<ResourceTextarea
placeholder="例如:营销站点,优先指向上海入口"
placeholder=""
{...form.register('remark')}
/>
</ResourceField>
@@ -178,7 +178,7 @@ export function ProxyRoutesPage() {
if (routesQuery.isError) {
return (
<ErrorState
title="网站列表加载失败"
title="规则列表加载失败"
description={getErrorMessage(routesQuery.error)}
/>
);
@@ -188,7 +188,7 @@ export function ProxyRoutesPage() {
<>
<div className="space-y-6">
<PageHeader
title="网站配置"
title="规则配置"
action={
<div className="flex flex-wrap gap-3">
<SecondaryButton
@@ -205,7 +205,7 @@ export function ProxyRoutesPage() {
setIsCreateOpen(true);
}}
>
新建网站
新建规则
</PrimaryButton>
</div>
}
@@ -266,7 +266,7 @@ export function ProxyRoutesPage() {
</div>
<AppCard
title="网站列表"
title="规则列表"
>
<div className="space-y-4">
<div className="flex flex-col gap-3 md:flex-row md:items-center md:justify-between">