style: 界面文案 K8s 统一改为 Kubernetes 全称(枚举值不变)
This commit is contained in:
1 parent
8bd323cc73
commit
8ee08e08da
5 files changed
+10
-10
No files matched your search
@@ -77,7 +77,7 @@ const statusConfig: Record<string, { icon: typeof CheckCircle2; color: string; l
|
||||
};
|
||||
|
||||
const deployTypeConfig: Record<string, { label: string; color: string; bg: string }> = {
|
||||
k8s: { label: 'K8s', color: '#0969da', bg: '#ddf4ff' },
|
||||
k8s: { label: 'Kubernetes', color: '#0969da', bg: '#ddf4ff' },
|
||||
host: { label: '主机', color: '#1a7f37', bg: '#dafbe1' },
|
||||
gitops: { label: 'GitOps', color: '#0e7c7b', bg: '#d5f5f6' },
|
||||
};
|
||||
@@ -571,7 +571,7 @@ export default function PipelineList({ onSelectPipeline }: { onSelectPipeline: (
|
||||
<input
|
||||
value={form.description}
|
||||
onChange={(e) => setForm((f) => ({ ...f, description: e.target.value }))}
|
||||
placeholder="例如 Go后端服务 - Docker构建 + K8s部署"
|
||||
placeholder="例如 Go后端服务 - Docker构建 + Kubernetes 部署"
|
||||
className="w-full px-3 py-[7px] rounded-md border text-[13px] outline-none"
|
||||
style={inputStyle}
|
||||
/>
|
||||
@@ -607,7 +607,7 @@ export default function PipelineList({ onSelectPipeline }: { onSelectPipeline: (
|
||||
</SelectTrigger>
|
||||
<SelectContent style={{ background: 'var(--panel-bg)', borderColor: 'var(--border-color)' }}>
|
||||
<SelectItem value="host">主机</SelectItem>
|
||||
<SelectItem value="k8s">K8s</SelectItem>
|
||||
<SelectItem value="k8s">Kubernetes</SelectItem>
|
||||
<SelectItem value="gitops">GitOps</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
|
||||
Reference in new issue
Block a user