fix: K8s 集群添加缺少 code 必填字段
- KubernetesClusterDialog: 新增 code 表单字段 - 名称变更自动生成 code(小写+连字符) - handleSubmit 增加 code 校验 + toast 提示 - payload 增加 code 字段(后端 binding:required)
This commit is contained in:
1 parent
f24fe43ac0
commit
ce438c9f05
18 files changed
+3941
-144
No files matched your search
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// js-yaml 类型声明兜底
|
||||
// 项目直接依赖的 js-yaml 包未自带 .d.ts,此处给出最小声明,避免 TS7016。
|
||||
// 如后续安装 @types/js-yaml,可删除本文件。
|
||||
declare module 'js-yaml' {
|
||||
export function load(text: string, opts?: any): any;
|
||||
export function dump(obj: any, opts?: any): string;
|
||||
export const YAML_SCHEMA: any;
|
||||
const _default: { load: typeof load; dump: typeof dump };
|
||||
export default _default;
|
||||
}
|
||||
Reference in new issue
Block a user