fix(wizard): 存储步骤去掉推荐文案;空态列表补腾讯云对象存储(COS 后端早已支持)
This commit is contained in:
1 parent
c4d907fd27
commit
e579eabe48
2 files changed
+2
-7
No files matched your search
@@ -41,11 +41,10 @@ const wizard = {
|
|||||||
},
|
},
|
||||||
storage: {
|
storage: {
|
||||||
defaultLabel: '默认存储:',
|
defaultLabel: '默认存储:',
|
||||||
none: '尚未配置存储 —— 可选本地 MinIO / RustFS,或 AWS / 阿里云对象存储',
|
none: '尚未配置存储 —— 可选本地 MinIO / RustFS,或 AWS / 阿里云 / 腾讯云对象存储',
|
||||||
manage: '管理存储',
|
manage: '管理存储',
|
||||||
add: '添加存储',
|
add: '添加存储',
|
||||||
configure: '配置存储',
|
configure: '配置存储',
|
||||||
hint: '推荐对象存储(MinIO / RustFS / S3 / OSS),更可靠;跳过则使用本地磁盘。',
|
|
||||||
},
|
},
|
||||||
deploy: {
|
deploy: {
|
||||||
autoTriggerFailed: '自动触发部署失败,请到「部署 Loki」页手动触发',
|
autoTriggerFailed: '自动触发部署失败,请到「部署 Loki」页手动触发',
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { memo, useState } from 'react'
|
import { memo, useState } from 'react'
|
||||||
import { Plus, CheckCircle2, Database } from 'lucide-react'
|
import { Plus, Database } from 'lucide-react'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import { Button } from '@/components/ui/button'
|
import { Button } from '@/components/ui/button'
|
||||||
import { Card, CardContent } from '@/components/ui/card'
|
import { Card, CardContent } from '@/components/ui/card'
|
||||||
@@ -52,10 +52,6 @@ export const StepStorage = memo(function StepStorage({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex items-start gap-2 rounded-lg bg-muted/50 p-3 text-xs text-muted-foreground leading-5">
|
|
||||||
<CheckCircle2 className="w-4 h-4 mt-0.5 text-success flex-shrink-0" />
|
|
||||||
<p>{t('storage.hint')}</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<StorageFormDialog open={open} onOpenChange={setOpen} onCreated={onChanged} />
|
<StorageFormDialog open={open} onOpenChange={setOpen} onCreated={onChanged} />
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|||||||
Reference in new issue
Block a user