From e579eabe48e20a180edfa0889c92a63c35f3526c Mon Sep 17 00:00:00 2001 From: opsx Date: Thu, 29 Oct 2026 16:20:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(wizard):=20=E5=AD=98=E5=82=A8=E6=AD=A5?= =?UTF-8?q?=E9=AA=A4=E5=8E=BB=E6=8E=89=E6=8E=A8=E8=8D=90=E6=96=87=E6=A1=88?= =?UTF-8?q?;=E7=A9=BA=E6=80=81=E5=88=97=E8=A1=A8=E8=A1=A5=E8=85=BE?= =?UTF-8?q?=E8=AE=AF=E4=BA=91=E5=AF=B9=E8=B1=A1=E5=AD=98=E5=82=A8(COS=20?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E6=97=A9=E5=B7=B2=E6=94=AF=E6=8C=81)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/i18n/locales/zh/wizard.ts | 3 +-- frontend/src/pages/wizard/components/StepStorage.tsx | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/frontend/src/i18n/locales/zh/wizard.ts b/frontend/src/i18n/locales/zh/wizard.ts index 40e07f1..1452f48 100644 --- a/frontend/src/i18n/locales/zh/wizard.ts +++ b/frontend/src/i18n/locales/zh/wizard.ts @@ -41,11 +41,10 @@ const wizard = { }, storage: { defaultLabel: '默认存储:', - none: '尚未配置存储 —— 可选本地 MinIO / RustFS,或 AWS / 阿里云对象存储', + none: '尚未配置存储 —— 可选本地 MinIO / RustFS,或 AWS / 阿里云 / 腾讯云对象存储', manage: '管理存储', add: '添加存储', configure: '配置存储', - hint: '推荐对象存储(MinIO / RustFS / S3 / OSS),更可靠;跳过则使用本地磁盘。', }, deploy: { autoTriggerFailed: '自动触发部署失败,请到「部署 Loki」页手动触发', diff --git a/frontend/src/pages/wizard/components/StepStorage.tsx b/frontend/src/pages/wizard/components/StepStorage.tsx index 65bd2cf..747696e 100644 --- a/frontend/src/pages/wizard/components/StepStorage.tsx +++ b/frontend/src/pages/wizard/components/StepStorage.tsx @@ -1,5 +1,5 @@ import { memo, useState } from 'react' -import { Plus, CheckCircle2, Database } from 'lucide-react' +import { Plus, Database } from 'lucide-react' import { useTranslation } from 'react-i18next' import { Button } from '@/components/ui/button' import { Card, CardContent } from '@/components/ui/card' @@ -52,10 +52,6 @@ export const StepStorage = memo(function StepStorage({ -
- -

{t('storage.hint')}

-